[Mimedefang] Reject vs. bounce

Jeff Rife mimedefang at nabs.net
Sun Jul 18 13:43:30 EDT 2004


In filter_relay, filter_sender, and filter_recipient, you can return a 
value that tells sendmail to reject the message.  This alerts the sender 
via DSN without requiring an extra e-mail, and guarantees that the server 
that connected to you to send you the e-mail gets the error message.

In filter_begin, filter, and filter_end, you can't return a "reject", but 
can only do something like call "action_bounce", which generates a 
separate e-mail to a possibly forged source address, and is a bad thing.

Why is this?  Has sendmail completely closed the connection by the time 
"filter_begin" is called?  Would having "delay_checks" set in sendmail.mc 
help?

Is there *any* way to do a true SMTP DSN-based reject based on the DATA 
portion of the e-mail?


--
Jeff Rife        |  
SPAM bait:       | 
http://www.nabs.net/Cartoons/MotherGooseAndGrimm/GatewaySource.gif 
AskDOJ at usdoj.gov |  
uce at ftc.gov      |  




More information about the MIMEDefang mailing list