Line 18: |
Line 18: |
| More detail can be found [http://forums.contribs.org/index.php?topic=33124.0 here]. | | More detail can be found [http://forums.contribs.org/index.php?topic=33124.0 here]. |
| | | |
− | ====Spamassassin==== | + | ====Spam==== |
| + | |
| + | =====Spamassassin===== |
| Set spamassassin for automatically delete junkmail. | | Set spamassassin for automatically delete junkmail. |
| You can change the "days" that spamassassin sets to automatically delete junkmail, to delete after two months | | You can change the "days" that spamassassin sets to automatically delete junkmail, to delete after two months |
Line 24: |
Line 26: |
| db configuration setprop spamassassin MessageRetentionTime 60 | | db configuration setprop spamassassin MessageRetentionTime 60 |
| signal-event email-update | | signal-event email-update |
| + | |
| + | |
| + | The "Custom spam rejection level" will only work when "Spam sensitivity" is set to CUSTOM. |
| + | -go to SERVER-MANAGER |
| + | -click EMAIL (on left-hand side) |
| + | -click CHANGE EMAIL FILTERING SETTINGS |
| + | -change "Spam sensitivity" to CUSTOM |
| + | |
| + | This happens because by default, no mail (except for viruses) gets rejected without the admin doing something first. |
| + | |
| + | =====Real-time Blackhole List (RBL)===== |
| + | Enabling RBL's <br> |
| + | RBL's are disabled by default to allow maximum accommodation (your ISP may be on a RBL & you may not know it). You can enable RBL's by: |
| + | config setprop qpsmtpd DNSBL enabled RHSBL enabled |
| + | signal-event email-update |
| + | |
| + | You can see your RBL's by: |
| + | config show qpsmtpd |
| + | |
| + | You can add to your RBL's by: |
| + | config setprop qpsmtpd RBLList <rbl-list-name> |
| + | signal-event email-update |
| + | |
| + | Many will argue what's best but most would agree that you can set best-practice recommended settings by: |
| + | config setprop qpsmtpd RBLList sbl-xbl.spamhaus.org:whois.rfc-ignorant.org:dnsbl.njabl.org |
| + | signal-event email-update |
| + | |
| + | =====Server Only===== |
| + | Some of the spam filter rules cannot work unless the SMESERVER knows the external IP of the box. If you put a SMESERVER in server-only mode behind other firewalls, it will lose some of the anti-spam rules. For example, the rule that blocks attempts where spammers try "HELO a.b.c.d" where a.b.c.d is your external IP address. |
| + | |
| + | Unfortunately, many admins believe that port-forwarding SMTP provides additional security. It doesn't, it limits the SMESERVER's ability to apply some rules. |
| | | |
| ====Keep a copy of all emails==== | | ====Keep a copy of all emails==== |
Line 96: |
Line 129: |
| | | |
| more information [http://bugs.contribs.org/show_bug.cgi?id=2620 here] | | more information [http://bugs.contribs.org/show_bug.cgi?id=2620 here] |
− |
| |
− | ====Real-time Blackhole List (RBL)====
| |
− | Enabling RBL's <br>
| |
− | RBL's are disabled by default to allow maximum accommodation (your ISP may be on a RBL & you may not know it). You can enable RBL's by:
| |
− | config setprop qpsmtpd DNSBL enabled RHSBL enabled
| |
− | signal-event email-update
| |
− |
| |
− | You can see your RBL's by:
| |
− | config show qpsmtpd
| |
− |
| |
− | You can add to your RBL's by:
| |
− | config setprop qpsmtpd RBLList <rbl-list-name>
| |
− | signal-event email-update
| |
− |
| |
− | Many will argue what's best but most would agree that you can set best-practice recommended settings by:
| |
− | config setprop qpsmtpd RBLList sbl-xbl.spamhaus.org:whois.rfc-ignorant.org:dnsbl.njabl.org
| |
− | signal-event email-update
| |
− |
| |
− | ====Spam Filters====
| |
− | I seem to get more spam from a SERVER-ONLY box compared to a SERVER-GATEWAY box.
| |
− |
| |
− | Some of the spam filter rules cannot work unless the SMESERVER knows the external IP of the box. If you put a SMESERVER in server-only mode behind other firewalls, it will lose some of the anti-spam rules. For example, the rule that blocks attempts where spammers try "HELO a.b.c.d" where a.b.c.d is your external IP address.
| |
− |
| |
− | Unfortunately, many admins believe that port-forwarding SMTP provides additional security. It doesn't, it limits the SMESERVER's ability to apply some rules.
| |
| | | |
| ====Outlook/Outlook Express give error 10060/0x800CCC90==== | | ====Outlook/Outlook Express give error 10060/0x800CCC90==== |
Line 162: |
Line 171: |
| 17check_basicheaders | | 17check_basicheaders |
| signal-event email-update | | signal-event email-update |
− |
| |
− |
| |
− | ====Spamassassin settings====
| |
− | *I set the "Custom spam rejection level" in the SERVER-MANAGER to 10. I expected the spam emails to be rejected when the spam score is above 10 but it isn't. What do I do?
| |
− | The "Custom spam rejection level" will only work when "Spam sensitivity" is set to CUSTOM.
| |
− | -go to SERVER-MANAGER
| |
− | -click EMAIL (on left-hand side)
| |
− | -click CHANGE EMAIL FILTERING SETTINGS
| |
− | -change "Spam sensitivity" to CUSTOM
| |
− |
| |
− | This happens because by default, no mail (except for viruses) gets rejected without the admin doing something first.
| |
| | | |
| | | |
| <noinclude>[[Category:Howto]]</noinclude> | | <noinclude>[[Category:Howto]]</noinclude> |