[Mimedefang] skip MD for one user?

David F. Skoll dfs at roaringpenguin.com
Tue Aug 20 08:32:01 EDT 2002


On Mon, 19 Aug 2002, Sidney Markowitz wrote:

> Is it the case that all this happens before alias expansion and so
> the solution will not work if that user who doesn't want mail
> filtered is on an alias list?

That is correct.  MD listens in on the SMTP dialog, and has no knowledge of
alias expansion.  There are (expensive) ways around this, but they are
probably not worth it.  (Basically, you run Sendmail in "-bv" mode for
each recipient and check the resulting delivery agent and user.)

> Or does local mail going via SMTP cause the delivery after alias
> expansion to go through the filter one more time?

No, it doesn't.  MD only listens in during incoming SMTP transactions.
After alias expansion, the mail is either delivered locally or
relayed, and in either case, MD doesn't get a crack at it.

Good questions, though!

Regards,

David.




More information about the MIMEDefang mailing list