Solved: MailScanner + Sendmail and User Unknown not bounced at once...(this does NOT use LDAP routing)

Ken Anderson ka at PACIFIC.NET
Mon Feb 16 22:50:29 GMT 2004


If it's sendmail, one simple way is to use the access map and reject it.

TO:user1 at domain.com     RELAY
TO:user2 at domain.com     RELAY
# Default entry to reject
TO:domain.com  ERROR:5.1.1:550 User unknown

How are you doing this?

Ken A
Pacific.Net


David H. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> 
> Hello Community.
> 
> All of us Sendmail + Mailscanner user might know the case where 
> MailScanner queues up a message for a User that is Unknown. THe Message 
> gets scanned, then bounced by the local delivery agent.
> For all of us that use Cyrus as their local Mail Store I found a nice 
> solution to prevent this behaviour without having to implement LDAP 
> routing, be it real or via a faked map.
> 
> With some very great tutoring from Andrzej Filip, along with Claus Aßman 
> one of  the best sendmail hackers imho it is quite easy to implement.
> I just wanted to gauge reactions, if there is a need for this, I will 
> gladly try and write a howto. However if just two or three are 
> interested in this, I think they should contact me off list and I will 
> explain the steps to them.
> 
> Thank you
> 
> - -d
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (Darwin)
> 
> iD8DBQFAMULrPMoaMn4kKR4RAyiEAJ0YN8ikWr/BPW29VFA6Ro/JCvNZLgCfbe8Q
> /YW44JHWmn5+Om9X05tAeZA=
> =zz/n
> -----END PGP SIGNATURE-----
> 
> 




More information about the MailScanner mailing list