9 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Re: Getting envel...
FromSent OnAttachments
Phillip HutchingsNov 30, 2003 10:25 pm 
Sam VarshavchikDec 1, 2003 4:09 am 
Mitch (WebCob)Dec 1, 2003 10:03 am 
Phillip HutchingsDec 1, 2003 12:38 pm 
Devin BayerDec 1, 2003 8:15 pm 
Mitch (WebCob)Dec 1, 2003 8:17 pm 
Sam VarshavchikDec 1, 2003 9:42 pm 
Mitch (WebCob)Dec 2, 2003 8:18 am 
Sam VarshavchikDec 2, 2003 3:44 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Re: Getting envelope TO address?Actions...
From:Mitch (WebCob) (mit@webcob.com)
Date:Dec 2, 2003 8:18:39 am
List:net.sourceforge.lists.courier-users

Hmmm -don't know why, but I don't see this header in recent versions... and when I look back at 0.38 - where I DO see it, it shows the account delivered to not the ALIAS like the envelope to would suggest.

Since one is derived from the other, the two are equivalent.

The Delivered-To: header is not actually present in the message when it's in the mail queue. The Delivered-To: headers gets added when the message is delivered by Courier directly, or via maildrop.

If you are invoking some other delivery agent via a .courier file, the delivery agent will not received the Delivered-To: and Return-Path: headers; instead they will be found in the DTLINE and RPLINE environment variables.

Ok - that may explain my problem with the missing headers(I'm doing some funky stuff before I call maildrop), but I still don't think "Envelope-To" and "Delivered-To" are the same. How can I filter on the alias received to - not the account delivered to?

For example: info@ is an alias of my account. MOST of the mail that goes there is junk, so I move it to a different folder and NEVER want a vacation reply sent to it.

How can that be handled with only a "Delivered-To:" - is the alias in an environment variable somewhere?

Then I can say "if RECEIVED FOR X do action"

Thanks.

m/