procmail
[Top] [All Lists]

rule match - exit

2004-02-17 13:32:52
I seem to recall there is some way within procmail to just exit after a rule
is matched. The idea is that I have users who set up a rule and if its a
match, they drop it (back) into their inbox  something like this

:0
* ^Subject: .*magic
/var/spool/mail/$LOGNAME


And worse yet, the way they write the rules, other stanza in procmailrc
will continue to be processed (not indicated above).  wasn't there some
way to force the status code by setting HOSTNAME or some such voodoo which
forces procmail to  stop processing that message (and therefore leave it
in the inbox? Something like

:0
* ^Subject: .*magic
HOSTNAME=bogus

Thanks

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David Stern                                            University of Maryland
                Institute for Advanced Computer Studies


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>