On Tue, Jul 20, 2004 at 11:06:55PM +1000, Stephen Kuhn wrote:
...and so the proper recipes would be:
:0
* ^Subject:
{
:0
/dev/null
}
No, that is not at all necessary. You do not need a nested brace
and the instantiation of a new recipe in order to have your
action of sending to /dev/null.
Moreover, you left off the bang ('!'), i.e., "not" operator.
You will trash every message with a subject with your version.
:0
^ Subject:[ ]*$
{
/dev/null
}
Here, aside from the same comment as above with regard to the
"not" operator, you have introduced a space after the start-of-
line anchor. I highly doubt that would ever catch a thing
in some reasonable-umpteen-thousand number of messages. Also,
inside the bracket was intende to be a space and a tab, not just
a space.
I strongly suggest you at least read through the examples in
"man procmailex".
--
dman
____________________________________________________________
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