Line 7:
Line 7:
http://sme.swerts-knudsen.dk/images/emailsummary.jpg
http://sme.swerts-knudsen.dk/images/emailsummary.jpg
−
'''''Installation:'''''
+
==Installation==
The package needs the Perl-MIME-Lite package to be able to send out HTML formatted emails.
The package needs the Perl-MIME-Lite package to be able to send out HTML formatted emails.
Line 26:
Line 26:
/sbin/e-smith/db configuration set unjunkmgr service enabled yes
/sbin/e-smith/db configuration set unjunkmgr service enabled yes
−
'''Configuration:'''
+
==Configuration==
The SpamAssassin learning does require that the SpamAssassin bayes filters have been enabled though. How this is done can be read at http://wiki.contribs.org/Email#Setup_Blacklists_.26_Bayesian_Autolearning or through these few shell commands.
The SpamAssassin learning does require that the SpamAssassin bayes filters have been enabled though. How this is done can be read at http://wiki.contribs.org/Email#Setup_Blacklists_.26_Bayesian_Autolearning or through these few shell commands.
−
config setprop spamassassin UseBayes 1
+
<nowiki>config setprop spamassassin UseBayes 1
+
config setprop spamassassin BayesAutoLearnThresholdSpam 4.00
config setprop spamassassin BayesAutoLearnThresholdSpam 4.00
+
config setprop spamassassin BayesAutoLearnThresholdNonspam 0.10
config setprop spamassassin BayesAutoLearnThresholdNonspam 0.10
+
expand-template /etc/mail/spamassassin/local.cf
expand-template /etc/mail/spamassassin/local.cf
+
sa-learn --sync --dbpath /var/spool/spamd/.spamassassin -u spamd
sa-learn --sync --dbpath /var/spool/spamd/.spamassassin -u spamd
+
chown spamd.spamd /var/spool/spamd/.spamassassin/bayes_*
chown spamd.spamd /var/spool/spamd/.spamassassin/bayes_*
+
chown spamd.spamd /var/spool/spamd/.spamassassin/bayes.mutex
chown spamd.spamd /var/spool/spamd/.spamassassin/bayes.mutex
+
chmod 640 /var/spool/spamd/.spamassassin/bayes_*
chmod 640 /var/spool/spamd/.spamassassin/bayes_*
+
config setprop spamassassin status enabled
config setprop spamassassin status enabled
−
signal-event email-update
+
signal-event email-update</nowiki>
The UnJunk Manager also collects statistics on the emails passing through the mail server. This is accessible from:
The UnJunk Manager also collects statistics on the emails passing through the mail server. This is accessible from:
Line 65:
Line 73:
http://sme.swerts-knudsen.dk/images/centralweb.jpg
http://sme.swerts-knudsen.dk/images/centralweb.jpg
−
'''FAQ:'''
+
==FAQ==
Q: How do I see what this Summary of Junkmail looks like without sending to all my users?
Q: How do I see what this Summary of Junkmail looks like without sending to all my users?