OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Blacklist and address based on "User unknown"

From: Jorey Bump (listjoreybump.com)
Date: Tue Jan 02 2007 - 15:35:59 CST


Crayon wrote:
> What I would like to do is to temporarily blacklist servers that try to
> send mail to non-existant addresses - a sure sign of spammers.

Really? This is a sure sign of my mother-in-law. I'll have to ask her if
she's a spammer.

> Are there
> any hooks in postfix that will allow this? So basically if a "Recipient
> address rejected: User unknown in virtual mailbox table" error occurs I
> want to run a certain program to stick the offending server's address
> into an iptables rule.

Do you really want to give a single user the power to blacklist a
domain's mail server by simply sending a message to an unknown user in
one of your domains? Either by malice or accident, this could cause
significant interruptions in service, especially if the sender relays
via a major ISP/ESP.