NLP followup

Ruud H.G. van Tol rvtol at isolution.nl
Tue Nov 13 08:44:13 GMT 2007


Toby Corkindale schreef:

> cat >> .procmailrc
> # Known troll
> : 0:
> ^From: .*cosmicperl.*
> /dev/null
> ^D

Actually:

cat >> ~/.procmailrc
# Known troll
:0
* ^From: .*cosmicperl
/dev/null
^D

- no locking needed for /dev/null; 
- a condition line starts with a "*"; 
- no need for .* at the end of a regex (unless you are \/capturing)

And probably it should be further up your .procmailrc. 

-- 
Groet, Ruud


More information about the london.pm mailing list