Hi,
I have an /etc/procmailrc that looks like the following:
# EXCEPTION 1
:0 :
* ^From root
* ^Subject: Quarantined messages
* ^Reply-To: quarantine(_at_)cs(_dot_)ait(_dot_)ac(_dot_)th
$DEFAULT
#EXCEPTION 2
:0 :
* ^From root
* ^Subject: Cron
$DEFAULT
#EXCEPTION 3
:0 :
* ^From quarantine(_at_)cs(_dot_)ait(_dot_)ac(_dot_)th
$DEFAULT
:0fw
| filter spam
It should deliver certain messages unfiltered, while others are
checked for spam (SpamAssassin).
But if a user has his own ~/.procmailrc file, it is not considered for
the delivery of the emaiL corresponding to exception 1-3, especially
if the user has set his own $DEFAULT.
So, I'd rather write:
:0fw
* ! EXCEPTION 1
* ! EXCEPTION 2
* ! EXCEPTION 3
| filter for spam
Filter for spam only if no exception is triggered, else continue with
the rcfile (and especially with the user's rcfile).
But as the exception contains ANDed condition, negating them would
lead to ORed conditions.
I looked through the FAQ and archive, buit could not find a clear
answer.
TIA
Olivier
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail