procmail
[Top] [All Lists]

Re: exclude a local user from anti-spam/virus procmail testing.

2004-05-05 05:27:40
On Wed, May 05, 2004 at 02:31:18PM +0300, Udi Mottelo wrote:

On Wed, 5 May 2004, Obantec Support wrote:

I would like to leave the global as is and add some kind of exclude
if email is local user wwwxxxyyy


      One step before the the antivirus recipe, do:

:0
* LOGNAME ?? ^^wwwxxxyyy^^
{ SWITCHRC=/where/user/likes/junkrc }

Yes, good.  Or just unsetting SWITCHRC should work to
end /etc/procmailrc and invoke the user's own .procmailrc,
I believe.  I.e.,

  { SWITCHRC }

as the last line.

Alternatively, if for some reason your global spam or virus
blockers are not at the tail end of your /etc/procmailrc, and
you therefore want the user's stuff to run the rest of the
/etc/procmailrc, you could do it like this:

  :0
  * ! LOGNAME ?? ^^(user1|user2|user3)^^
  { INLCUDERC = /your/global/virus-or-spam/routines.rc }

-- 
dman

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