procmail
[Top] [All Lists]

Re: invoking email variable

2000-01-03 17:06:00
"Brian Dawson" <dawsobr(_at_)tronicplanet(_dot_)de> writes:
Is there a variable provided by procmail that holds the email address that
invoked the current session (like $LOGNAME)? I am writing an auto reply,
forwarding database program, but using the 'To:' field cut by formail is
unreliable with multiple recipients.

Under normal conditions, $LOGNAME is the user receiving this message
(i.e., the envelope recipient).  That's not true under virtual-domain
setups where many users share one mailbox.  In that case, the program
that 'creates' the virtual domain (probably an MTA like sendmail or
qmail) needs to save the envelope recipient information somewhere or
otherwise pass it through to procmail.


Philip Guenther

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