[Mimedefang] virtusertable and stream_by_domain

David F. Skoll dfs at roaringpenguin.com
Wed Jun 16 07:24:44 EDT 2004


On Tue, 15 Jun 2004, Alan Pfeiffer-Traum wrote:

> Using stream_by_domain, I find that $Domain is set to the virtual
> domain, not the "real" domain.  Apparently when filter_begin is called,
> sendmail's recursion through the virtusertable hasn't yet happened.

Right.  What MIMEDefang sees is the argument to the RCPT command.

> Is there a way to control this?

You'd have to "manually" apply Sendmail's virtusertable lookups.  You
can try using "sendmail -bv address at domain.net" and parsing the output.

Regards,

David.



More information about the MIMEDefang mailing list