procmail
[Top] [All Lists]

Re: complicated recipes

1996-08-14 21:20:02
Gordon Dick wrote,

| however one problem has come to light.... when an email
| has been sent as a Blind Carbon Copy, it appears to confuse
| procmail... is it possible to check the delivery address of
| a blind  carbon copy when it's to one of your own email
| addresses?

Not easily; by the time procmail is reading recipes in your .procmailrc, the
SMTP envelope has been lost, and since the SMTP recipient of a blind carbon
is not listed in the visible headers, procmail cannot egrep for it.

If procmail is the system MDA, there should be a way to preserve the envelope
information while it is still known, such as adding an X-Envelope-To: header
line naming the true envelope recipient or using procmail's -a option to keep
that information available when procmail is reading recipes.  That involves
the sendmail.cf file, and examples/advanced has some information about that.

<Prev in Thread] Current Thread [Next in Thread>