Hi!
Tim Rice schrieb:
Not sure if this is what your asking for, but here is what I use:
:0:
* ?formail -x"To:"\ # Get To: address
| egrep -is -f $HOME/whitelist # Compare to whitelist file
$DELIVER # Deliver if matched
Thank you, this was what I was asking for.
My rule until now looks like this:
:0
*^X-SPAM-Flag:.*YES # If there is a set X-SPAM-Flag
*!(?formail -x"To:"\ # Negation: Get To: address
| egrep -is -f /etc/validusers) # Compare to list of valid users
!nobody # drop.
There seems to be a mistake in there still. :-(
Optimistically, I think it's a small one.
Is there anywhere a bigger procmail-rules-examples howto than man
procmailex?
TNX
Ralf
--
Diese Nachricht wurde per EDV erstellt und wäre somit auch mit
Unterschrift ungültig.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail