procmail
[Top] [All Lists]

body search (B ?? ...) & regex/scoring question

2002-03-05 17:02:19
can anybody tell me why would this not match (thus message is
delivered to junk folder)...

  *  1^0 B ?? \<((minolta|maxxum|the).*[579]|(xt|50[05])si)\>

...this body (wrapped for email)...

  Hello,

  I want to know the difference between the MINOLTA Dynax 7 and the \
  MINOLTA Dynax 7 Limited edition.

  thank you very much


...complete recipe is...

  :0:
  *  !   B ?? \<(d(igi)?(tal)?.*(camera|slr|minolta)|dimage.?[57])\>
  * -2^0 B ?? \<(cann?on|nikon|bronica|usm|(mirror|reflex).*lens)\>
  *  1^0 B ?? \<((minolta|maxxum|the).*[579]|(xt|50[05])si)\>
  *  1^0 B ?? \<(sigma.*ef.?50[05]|(3[56]|5[46])00.?(hs|xi)|o[cs].?1100)\>
  *  1^0 B ?? 
\<((mono|tri)pod|ball.?head|macro|zoom|filter|kenko|tc|tele.*converter|bellow|extension.*tube)s?\>
  *  1^0 B ?? 
\<(film|kodak|fuji|agfa|ilford|xp.?2|vista|supra|superia|np[hz]|nhg.?ii|tmax|tri.?x|black.*white|b.w|ir|infra.*red)\
        >
  *  1^0 B ?? 
\<(zoom|prime|lens).*((2[48]|35).([57]0|85|105)|[78]0.2[10]0|(20|[38]5|[123456]00))\>
  *  1^0 B ?? 
\<((2[48]|35).([57]0|85|105)|[78]0.2[10]0|(20|[38]5|[123456]00)).*(zoom|prime|lens)\>
  *  1^0 B ?? \<(wide open|aperture).*(f.?)?(1\.[47]|2\.8|3\.5|4|5\.6)\>
  *  1^0 B ?? \<(f.?)?(1\.[47]|2\.8|3\.5|4|5\.6).*(wide open|aperture)\>
  In/IN.camera

  :0 E:
  In/IN.camera-junk


...and the log shows...

  procmail: Match on ! "\<d(igi)?(tal)?.*(camera|slr|minolta)\>"
  procmail: Score:       0       0 
"\<(cann?on|nikon|bronica|usm|(mirror|reflex).*lens)\>"
  procmail: Score:       0       0 
"\<((minolta|maxxum|the).*[579]|(xt|50[05])si)\>"
  procmail: Score:       0       0 
"\<(sigma.*ef.?50[05]|(3[56]|5[46])00.?(hs|xi)|o[cs].?1100)\>"
  procmail: Score:       0       0 
"\<((mono|tri)pod|ball.?head|macro|zoom|filter|kenko|tc|tele.*converter|bellow|extension.*tube)s?\>"
  procmail: Score:       0       0 
"\<(film|kodak|fuji|agfa|ilford|xp.?2|vista|supra|superia|np[hz]|nhg.?ii|tmax|tri.?x|black.*white|b.w|ir|infra.*red)\>"
  procmail: Score:       0       0 
"\<(zoom|prime|lens).*((2[48]|35).([57]0|85|105)|[78]0.2[10]0|(20|[38]5|[123456]00))\>"
  procmail: Score:       0       0 
"\<((2[48]|35).([57]0|85|105)|[78]0.2[10]0|(20|[38]5|[123456]00)).*(zoom|prime|lens)\>"
  procmail: Score:       0       0 "\<(wide 
open|aperture).*(f.?)?(1\.[47]|2\.8|3\.5|4|5\.6)\>"
  procmail: Score:       0       0 "\<(f.?)?(1\.[47]|2\.8|3\.5|4|5\.6).*(wide 
open|aperture)\>"
  procmail: Locking "In/IN.camera-junk.lock"
  procmail: Assigning "LASTFOLDER=In/IN.camera-junk"
  procmail: Opening "In/IN.camera-junk"
  procmail: Acquiring kernel-lock
  procmail: Unlocking "In/IN.camera-junk.lock"
  From 
sentto-35246-42784-1015370496-parv_=yahoo(_dot_)com(_at_)returns(_dot_)groups(_dot_)yahoo(_dot_)com
  Tue Mar  5 18:36:55 2002
   Subject: MINOLTA Dynax 7 Limited Edition
    Folder: In/IN.camera-junk


...what am i doing wrong w/ the regex or the scoring?

  - parv

-- 

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

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