I just heard about policyd-weight so I did an apt-cache search policyd
which returns three options:
Which one is the best, and do you have any tips on setting them up?
Our current setup is whitelister plus postgrey to greylist RBLd hosts, then fail2ban them for 10 minutes if they have 10 failures, followed by content filtering (Kaspersky Anti-Spam). The content filtering is pretty good, but there's still a lot of spam that gets through the RBL greylisting.
I'm very happy with policyd-weight. I run it on several mail servers and I would guess that it stops a good 80%-90% of spammy attempts straight away.
My current setup uses policyd (without -weight), I'm happy with it on some postfix boxes with low traffic (50k hits to policyd a day which boils down to ~ 3k mails getting through).
policyd-weight wasn't there at the time so I can't say if it is better or not.
I'd also add: