procmail
[Top] [All Lists]

Re: envvars not getting set

2006-11-08 17:12:50
On Wed, Nov 08, 2006 at 04:18:35PM -0700, Dylan Thurston wrote:

I am having trouble with procmail(with postfix setup). I am
using a global procmailrc (/etc/procmailrc) file and i of course
need to be able to find out which user is recieving each email
as a rule is evaluated. (as my mail folders are non standard
/mail/userid/.mail/) The problem is that $USER is blank for some
unknown reason.

Procmail knows about $LOGNAME.  Use that, not $USER.
The default env vars are listed in "man procmailrc".

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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