procmail
[Top] [All Lists]

Re: Recipient Address Variable?

2009-12-03 15:44:22
At 10:14 2009-12-03 -0800, Bart Schaefer wrote:
On Thu, Dec 3, 2009 at 9:51 AM, Scott Moseman <scmoseman(_at_)gmail(_dot_)com> 
wrote:
> Although I wish there was a variable with just the username so I do
> not need to run an additional awk command per email.

"man procmailrc":

Darned, and I was about to respond with LOGNAME - my original reply was focused on _email address_ and I neglected to mention this.

Remember though, that's the userid, not the email address, and it won't do you a lot of good on Mprog mailers, as it should be the daemon they're invoked as.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

____________________________________________________________
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>