procmail
[Top] [All Lists]

Re: GREPsing files in procmail conditions

2003-12-07 15:42:06
Sean advised Ralf,

$LOGUSER contains the username that mail is being delivered on behalf of
(valid at least when procmail is running as LDA).  THIS would have a
correlation to an /etc/passwd entry:

* ? grep ^${LOGUSER}: /etc/passwd

Actually, it's $LOGNAME, and it is the username of the ruid under which procmail is being run. Almost always it's the user on whose behalf, as Sean said, the message is being delivered.

(The alteration to the subject line was intentional.)


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail