Line 22: |
Line 22: |
| '''WARNING''': Make sure that these files are accessible before executing the above commands! If you are unable to access http://mirror.contribs.org/smeserver/contribs/bread/mailstats/ the above commands will create empty files, overwriting existing versions. | | '''WARNING''': Make sure that these files are accessible before executing the above commands! If you are unable to access http://mirror.contribs.org/smeserver/contribs/bread/mailstats/ the above commands will create empty files, overwriting existing versions. |
| | | |
− | =====Change Email Recipient===== | + | =====Configuration===== |
− | The email recipient is specified in the spamfilter-stats-7.pl file, currently (v0.6.11) at line 108, using: | + | The latest release (v0.6.15) supports several SME database options: |
| + | * Status |
| + | config setprop mailstatus Status ("enabled"|"disabled") |
| + | * Column Headings (enable, supress or only show if nonzero) |
| + | config setprop mailstats <column header> ("yes"|"no"|"auto") |
| + | * QpsmtpCodes |
| + | config setprop mailstats QpsmtpdCodes ("enabled"|"disabled") |
| + | * SpamAssassin Rules |
| + | config setprop mailstats SARules ("enabled"|"disabled") |
| + | * JunkMailList |
| + | config setprop mailstats JunkMailList ("enabled"|"disabled") |
| + | * SpamAssassin Rule Percent Threshold for report cutoff |
| + | config setprop mailstats SARulePercentThreshold (0.5) |
| + | * Email to send report |
| + | config setprop mailstats Email (admin) - email to send report |
| + | |
| + | In older versions, the email recipient is specified in the spamfilter-stats-7.pl file, using: |
| $opt{'mail'} = "admin"; | | $opt{'mail'} = "admin"; |
| which will deliver email to the local 'admin' account on your SME server. Configure email forwarding in server-manager::Collaboration::Users::admin to deliver the emails to another location. | | which will deliver email to the local 'admin' account on your SME server. Configure email forwarding in server-manager::Collaboration::Users::admin to deliver the emails to another location. |