Rick Sheffar wrote,
| :0 hWc:
| * !^FROM_DAEMON
| * !^FROM_MAILER
| * !^From.*feedmanager
| * !^From.*USENET
| * !^From.*sheffar
| * !^From.*GOD
| | formail -zX From: -zX Date: -zX Subject: >>$HOME/user-id
You can streamline those conditions considerably:
* !(^FROM_DAEMON|^From.*(feedmanager|USENET|sheffar|GOD))
^FROM_MAILER is a subset of ^FROM_DAEMON, so anything that will fail
!^FROM_MAILER (i.e., match ^FROM_MAILER) will match ^FROM_DAEMON and
thus was ruled out by !^FROM_DAEMON. !^FROM_MAILER is redundant after
!^FROM_DAEMON.
A little nested OR'ing brings the remaining conditions together into one,
saving a lot of work for procmail.
Also, only one -z is needed in the formail command.