Jaymon / stockton

Quickly setup an email server to forward a personal domain to any email address
Other
4 stars 0 forks source link

Spam Assassin #4

Closed Jaymon closed 8 years ago

Jaymon commented 8 years ago

Might be worth moving a bunch of the lockdown additions into spam assassin and have lockdown install that and configure it.

https://wiki.debian.org/DebianSpamAssassin http://www.akadia.com/services/postfix_spamassassin.html

https://www.debuntu.org/postfix-and-spamassassin-how-to-filter-spam/ https://www.debuntu.org/postfix-and-spamassassin-how-to-filter-spam-page-2/

Can also look at Amavis? https://help.ubuntu.com/community/PostfixAmavisNew https://wiki.apache.org/spamassassin/IntegratedInPostfixWithAmavis

and also look at http://serverfault.com/questions/665754/how-can-i-avoid-being-classified-as-spammer-when-i-forward-mail-to-a-gmail-accou http://serverfault.com/a/419475/190381

As already stated SpamAssassin is a great solution when configured correctly, just make sure to install as many of the addon Perl modules in CPAN as possible as well as Razor, Pyzor and DCC. Postfix works very well with SpamAssassin and it's a lot easier to manage and configure than EXIM for example.

Finally blocking clients at IP level using fail2ban and iptables or similar for short periods of time (say one day to a week) after some events such as triggering a hit on an RBL for abusive behavior can also be very effective. Why waste resources talking to a known virus infected host right?

http://serverfault.com/a/514830/190381

search: postfix spamassassin postfix spam

Jaymon commented 8 years ago

https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin

Jaymon commented 8 years ago

Well, after a bumpy deploy to my server, this seems to be working as intended