On 9/9/2014 10:23 PM, LuKreme wrote: > >> On 09 Sep 2014, at 20:11 , Edgar Pettijohn <[email protected]> wrote: >> >> This is what I do for my blacklist. There are probably other solutions, >> but this works for me. >> >> smtpd_client_restrictions = check_client_access >> cidr:/usr/local/etc/postfix/blacklist.cidr >> >> blacklist.cidr >> 212.180.242.0/24 REJECT > > Just the one? > > Anyway, I was looking for something a little more automated. >
Postfix has no built-in auto-blacklist/honeypot capability. But it's not too hard to make such a feature with either a policy service (eg. postfwd) or a log scraper (eg. fail2ban or just a shell script) to update a blacklist file. Note this might cause problems when a user account at $BigMailProvider is hacked and sends mail to your blacklist address. But this seems like too much trouble... Most of the spam to retired addresses here is blocked by spamhaus with very little extra attention required. Maybe you're on a different feed. -- Noel Jones
