procmail
[Top] [All Lists]

Re: question for a filter condition

2004-08-11 02:46:59
On Wed, Aug 11, 2004 at 04:54:13AM +0000, Thomas Hendrich wrote:

I?m wondering if it is possible to create a filter condition to do
something whith a mail if the procmail script is called for a special
user.

To explain, my qmail MTA delivers all mails to procmail, and I?ve
created one global procmailrc script wherein I call spamc -f. this
spamc is called with the uid of the user the mail is for and what I now
want to do is based on the user the script runs for sometimes filter
some mails.

Is this possible to get the uid the script runs for?

  :0
  * LOGNAME ?? ^^foo|bar^^
  | do this

  :0 E  # else
  | do that
  
-- 
dman

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