Re: environment passed from sendmail?

"@lbutlr" <[email protected]> Sun, 9 Aug 2015 09:09:43 -0600
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
On Aug 9, 2015, at 12:47 AM, Ian Zimmerman <[email protected]> wrote:
> (example: the envelope sender and recipient, and the sendmail local id of the
> message).

The only envelope information you can get to is what is the in the From_ header. The local id for sendmail should be in the first received line. I’m using postfix, but it should be similar:

Received: from mx-out-2.rwth-aachen.de (mx-out-2.rwth-aachen.de [134.130.5.187])
	by mail.covisp.net (Postfix) with ESMTP id 3mprb344nvzJMhs
	for <[email protected]>; Sun,  9 Aug 2015 00:47:43 -0600 (MDT)

Where 3mprb344nvzJMhs is the local queue id.

You may not get a From_ line though, so it’s possible you are out of luck on that score.

-- 
You start a conversation you can't even finish it
You're talkin' a lot, but you're not sayin' anything
When I have nothing to say, my lips are sealed
Say something once, why say it again?

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
[email protected]
http://mailman.rwth-aachen.de/mailman/listinfo/procmail