I wrote:
Here's what I'd probably do:
:0 : named.lock
* ^FROM_DAEMON
* !^From:.*-mail@
| action_line >> whatever
Forgot his custom part.
MY_DAEMON = (whatever|the|hell|he|had|and|use|a|var|for|[$WS]|as|better|form)
OR_DAEMON = (^FROM_DAEMON|MY_DAEMON)
:0 : named.lock
* $ $OR_DAEMON
* !^From:.*-mail@
| action_line >> whatever
Dallman
____________________________________________________________
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