Lorenzo Perone writes:
So for example, I have an address like "[EMAIL PROTECTED]" and an alias to it "[EMAIL PROTECTED]". Someone sends an email to [EMAIL PROTECTED] and it gets correctly resolved to [EMAIL PROTECTED], yet he puts in the To: header something like "My dear friend". I'd like to place in some header (via maildrop or courierd DEFAULTDELIVERY and -A) the alias address, i.e. "[EMAIL PROTECTED]". If I use -A "$DTLINE" I get the same result as with -A "Delivered-To: $RECIPIENT". Is there anything like "ORLINE" (this one doesn't, I tried) ?
No, because this information is no longer available by then.The only thing you can do is to remove the alias, add a real account in its place, and use a .courier file to forward mail to the aliased address. This way you'll have a complete record of the mail's path recorded in the headers.
pgp14t435ieiZ.pgp
Description: PGP signature
