8/4 In sendmail on Linux, how do I write a rule which will quietly discard
e-mail sent to nonexistent users? Default behavior is to bounce
the mail back, but in the case of SPAM the From: address doesn't
exist. I'd rather just toss such mail.
\_ This may bring other problems with it, but you may wish to
consider greylisting. It simply replies to each mail with a 405
(try again later). On the second try, the mail's delivered; most
spam doesn't hack this. On the other hand, it could fail to
deliver mail from misconfigured mailers. -John
\_ Sendmail can tell reject mail during the SMTP session for non-
existent users prior to accepting the message (therefore, you don't
generate a bounce -- the sender does [should]). If this isn't
feasible (this is a mail relay, etc.), try something that does
sender-address verification. (spamilter, mimedefang, etc.) or
bring over a list of "valid" users (timed sync, or ldap lookups)
\_ Do chmod 666. -proud American
\_ milter-ahead from <DEAD>snertsoft.com/milter.info<DEAD> -Jon |