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