procmail
[Top] [All Lists]

Re: documentation question

1997-03-05 16:51:56
Dorita Menconi <dorita(_at_)menconi(_dot_)com> writes:
I recently installed sendmail 8.8 and in the documentation it says that in
procmail $1 is the sender and $2 is the recipient.  I tried setting a variable
to each value (ie SENDER=$1 and RECIPIENT=$2) in my /etc/procmailrc file but
didn't work.  Was the sendmail document wrong or am I misinterpreting what it
said?

The above is true for the procmail mailer, *not* procmail as the local
mailer.  In that case, the sender is the value of the Return-Path:
header (for the first field of the "From " non-header) and the
recipient is *you* (as can be found in $LOGNAME).

Philip Guenther

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