Hi All, this is my first post to this list, so if this is a RTFFAQ sort of
question, just let me know.
I've recently (for about the past month) been building up a pretty
substantial anti-spam recipe-box in my .procmailrc.
My question is, if I'm trying to match a lot of items (about 1900 of them,
and growing), is it "better" to have one recipe for each of the 1900
items, or one recipe with all items |'ed together?
A small example... Would it be "better" this way: (sorry about the long
lines)
:0 h
* ^(To:|From:|Reply-To:|Comments:
Authenticated).*@(validreturn.com|.*\.validreturn.com)
procmail/spamfile
:0 h
* ^(To:|From:|Reply-To:|Comments:
Authenticated).*@(audioforum.com|.*\.audioforum.com)
procmail/spamfile
...insert 1900+ more individual recipes here...
Or would it be better this way:
:0 h
* ^(To:|From:|Reply-To:|Comments: Authenticated)(_dot_)*(_at_)\
(validreturn.com|.*\.validreturn)|\
(audioforum.com|.*\.audioforum)|\
...insert 1900+ more lines here..
procmail/spamfile
Can I even do this? Would this cause the indentation to be included in
the ingredients for this recipe?
Any ideas? It's working fine with 1900+ seperate recipes now, or so it
seems...
My kudos must go out to Stephen, who's written one kick-butt piece of
software!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Jason Marshall, marshalj(_at_)spots(_dot_)ab(_dot_)ca(_dot_) Spots
InterConnect, Inc. Calgary, AB |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-