On Sat, Sep 01, 2001 at 06:33:33PM +0700, Tim Rice wrote:
I tried this and it fails to match "Invalid recipient:"
:0B:
* ^Invalid recipient: \<\/\>
| $MATCH >> $HOME/.blacklistglobal
You haven't really told it what to match here, and you don't need to escape
the brackets. I've tested both of the following and they work:
:0B:
* Invalid recipient:.*<\/.*
| echo $MATCH | sed 's/>.*//' >> blacklist
:0:
* B ?? Invalid recipient:.*<\/.*
| echo $MATCH | sed 's/>.*//' >> blacklist
--
Andrew Edelstein - andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail