procmail
[Top] [All Lists]

((2^31) -1) scored condition(s) followed by some AND's -- don't work "as expected"

2002-10-13 20:31:10
i thought the following recipe would exit as soon as it hits/scores
the maximum number, but it doesn't (seem to). my understanding
was...

 1. when either of first 2 conditions are met, mail would go to
    "i.minolta-junk".

 2. when 1 fails, mail would go to -junk folder when both of last 2
    conditions are met.


the recipe...

  Digital_A="\<d(slr|igi(tal)?)"
  Digital_B="\<(rant|format|slr|camera|article|minolta|maxxum)"
  Digital_C="\<(dimage|7[- ]?hi|f[oa]veon|vectis|silicone? film)"

  :0:
  *   9876543210^0  subj  ??  ()(\<ot\>|off topic|scanner|scan.+elite)
  * $ 9876543210^0  B  ??  ()$Digital_C
  * $               B  ??  ()$Digital_A
  * $               B  ??  ()$Digital_B
  In/i.minolta-junk

    :0 E:
    In/i.minolta

...the log...

  procmail: Score:       0       0 "()(\<ot\>|off topic|scanner|scan.+elite)"
  procmail: Score: 2147483647 2147483647 "()\<(dimage|7[- 
]?hi|f[oa]veon|vectis|silicone? film)"
  procmail: No match on "()\<d(slr|igi(tal)?)"
  procmail: Locking "In/i.minolta.lock"
  procmail: Assigning "LASTFOLDER=In/i.minolta"
  procmail: Opening "In/i.minolta"


...i was expecting procmail to stop at the 2d condition & deliver
the message to "i.minolta-junk".  instead, the 3d condition
(unexpected) is also checked, which when fails (as shown in above
log), mail goes to "i.minolta".

so my question is when the 2d condition is met, why is the 3d condition
being checked?  procmail version is 3.22 2001/09/10.


  - parv

-- 

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail