Professional Software Engineering wrote:
You want to read "man procmailsc" which covers SCORING.
:0:
* ! ^TO_tld\(_dot_)procmail(_at_)stimulacra\(_dot_)com
* ! ^From:.*stimulacra\.com
* 9876543210^0 ^Subject:.*(phrase1|phrase2|phrase3)
* 9876543210^0 ^Subject:.*(phrase4|phrase5|phrase6)
* 9876543210^0 ^Subject:.*(phrase7|phrase8|phrase9)
ACTION
After looking at this, I again looked at the procmailsc
and it made more sense.. I don't know why it was so confusing
to me before. I think your explanation helped a lot.
... perhaps you should include the @, or a dot?)
Yes, I should have. (= Thanks for the notice.
* 9876543210^0 ^Subject:.*(phrase1|phrase2|phrase3|\
phrase4|phrase5|phrase6|\
phrase7|phrase8|phrase9)
I prefer to put each on their own line, because to me the
recipe code looks cleaner. That looks terrible to me. (=
(or just one honkin' long line, your choice)
Originally, that is how I had it, but the long line just
looked so nasty!
Charles and Gerald,
I understand now why it would not work. Thank you for the
explanations! I'm going to try/use Seans scoring method as
it seems the most elegant code to me.
--
$DEFAULT.sig
____________________________________________________________
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