On Fri, Feb 02, 2007 at 09:50:06AM -0500, Kevin A. McGrail wrote:
> >See the $rcpt_mailer, $rcpt_host, $rcpt_addr arguments to
> >filter_recipient ($rcpt_addr contains the mailbox if
> >$rcpt_mailer eq "local").
> 
> Wow, very cool.  I never knew this and I've usually been shelling and 
[...]
> However, my question is what does it do with aliases? UPDATE: tests on my 
> server show the rcpt_addr = the name of the alias and is not expanded 
> further.  Such as:
> 
> Feb  2 09:45:32 intel1 mimedefang.pl[29094]: DEBUG: recip 
> <[EMAIL PROTECTED]> - mailer local - host ? - addr 
> thealiasname

Aliases aren't expanded until the local mailer runs. If you want to
expand those, you'll have to look them up "yourself" in the aliases.db

> Does the rcpt triple information above remain in scope and is available in 
> filter_end?  Or do we have to create a state file in CWD?

I refer you to the excellent documentation available in
"man mimedefang-filter" and some clues in my previous message on
this subject. The one you replied to, even...

-- 
Jan-Pieter Cornet <[EMAIL PROTECTED]>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to