procmail
[Top] [All Lists]

rules seem to fail after reaching the 16th of 34 rules without a match

1999-10-23 12:43:23
Hi,

I have 34 rules on my procmailrc file. They work great
as long as the word(s) being searched for in the
incoming mail match within the first 16 rules or so.
But if the incoming mail has words that would have
matched an rule after that, procmail always responds
to the incoming email with the file that is supposed
to be sent out for rule 16. Here is what I mean:

Here is what rule 16 on my procmail file looks like:

:0 HB
* .*(time +out|time-out|timeout|i +did +not +get|i
+didnt +get|i +didnt +get|file +missing|files
+missing|receiv|reciev|missing|missed|i +only +get|i
+only +got|everything +but|Didnt +get|havent
+got|Didnt +get|havent +got)
* !.*768sdfds
| (formail -rtk ; cat
/usr/apache/htdocs/search/mailtemplates/Missingouts.txt
) | $SENDMAIL -oi -t

Most of my other rules look similar - they mostly send
out a certain file as a reply to certain matches.

Now, if an email comes in with words that would have
matched, say, rule 6, that email is replied to with
the corresponding file for rule 6. So that's OK. And
this is OK for all rules to rule 16. After rule 16,
even when the match is for say rule 28, the above file
for rule 16 is sent out!

Even if i re-order the rules so that a new rule is at
position 16, that new rule now starts behaving this
way - so the problem does not seem to be with the rule
regex but with something else.

Can anyobne help? I'd really appreciate it!

Thanks and have a great day!

David

myprocmail(_at_)yahoo(_dot_)com

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

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