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 On 09/09/2014 08:26 PM, LuKreme wrote: > I had a user account on my system many years ago (like 12) that continues to > get many email attempts. Is it possible to add servers trying to send to this > address to a blacklist. > > NB: I'm not talking about any no such user error, but this specific user who > could not possibly be getting legitimate mail. > > (and yes, email attempts to this user account have shot up dramatically in > the last year). >
