OT [sort of]: Dropping To address before mailscanner

Mike Tremaine mgt at stellarcore.net
Fri Dec 17 16:22:47 GMT 2010


Maybe I figured it out I guess the right thing to do was use DISCARD in /etc/mail/access rather then the alias.

Still happy to hear any other opinions.

-Mike

On Dec 17, 2010, at 8:10 AM, Mike Tremaine wrote:

> 
> I think I'm doing something wrong and thought someone else might know.
> 
> I have Sendmail/Mailscanner stack that is having to handle huge bubbles of traffic from bounce backs. I had the client create a dontnotreply address then set up an alias to /dev/null in sendmail.
> 
> The trouble I'm having is that it seems like the mail is still having to traverse the stack rather then just getting sent to /dev/null
> 
> So.... How others handling discards before mailscanner at the MTA level?
> 
> 
> Settings/Log Info:
> 
> Dec 16 15:42:34 mx1 sendmail[16634]: oBGNegR8016634: from=<>, size=12402, class=0, nrcpts=1, msgid=<YJOGESS9i0018d236 at smtp06.server.com>, proto=ESMTP, daemon=MTA, relay=smtp06.server.com [xxx.xx.xx.xx]
> Dec 16 15:58:31 mx1 sendmail[18381]: oBGNegR8016634: to=/dev/null, ctladdr=<donotreply at domain.com> (8/0), delay=00:15:57, xdelay=00:00:00, mailer=*file*, pri=132402, dsn=2.0.0, stat=Sent
> 
> 
> in /etc/aliases
> 
> #Blackhole
> donotreply:	/dev/null
> 
> in /etc/mail/access
> To:donotreply at domain.com		OK
> 
> 
> in /etc/mail/virtualusertable
> donotreply at domain.com		donotreply
> 
> 
> Anyone spot my logical mistake? Thanks...
> 
> -Mike
> 



More information about the MailScanner mailing list