On Wed, 05 May 2004, 10:16 GMT+01 Obantec Support wrote:
I have a local user who does not want any local anti spam/virus rules.
Problem is i have global procmail rules which are working well and catching
a lot of junk so do not want to remove these.
I would like to leave the global as is and add some kind of exclude if email
is local user wwwxxxyyy
Following the exclusion it should still pass to the local users own
try something like this in your global procmailrc:
SPC = " "
my_DISABLE_USERS = "adam eva"
# Ensure each username within my_DISABLE_USERS is surrounded by a space:
my_DISABLE_USERS = " $my_DISABLE_USERS "
* ! $ my_DISABLE_USERS ?? ()$SPC$LOGNAME$SPC
INCLUDERC = /path/to/global/antivirus.rc
This will run the global antivirus.rc for all users except for those
specified in my_DISABLE_USERS.
procmail mailing list