"Todd A. Jacobs" <[EMAIL PROTECTED]> writes: > On Wed, 28 May 2003, Jason R. Mastaler wrote: > > > Rept: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > ^^^^^^^^^^^^^^^^^^^^^^^^^ > > That's what TMDA is choosing, not the actual envelope recipient. Again, I > refer you to the mail headers:
No. TMDA always uses what Postfix puts in the RECIPIENT environment variable. The only exception is if you have set RECIPIENT_HEADER in your config and specified a different header to examine for the recipient, such as X-Originally-To. This also assumes that, somewhere along the way, you have run a program, such as formail (part of procmail), to insert that extra header with the value that you want into the message. If you have not set RECIPIENT_HEADER, TMDA always uses RECIPIENT. If RECIPIENT is not present in the environment, TMDA will throw an exception, log the error to LOGFILE_DEBUG and quit. If the mail is actually getting logged in LOGFILE_INCOMING, that means the RECIPIENT variable is present. When the mail first comes in to Postfix, the envelope recipient is clearly [EMAIL PROTECTED] During the aliasing process, however, Postfix appears to be changing the envelope recipient to [EMAIL PROTECTED] This is before TMDA sees it and is not a "choice" that TMDA makes. Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
