procmail
[Top] [All Lists]

Re: badtrans again

2001-12-08 21:02:50
In your message regarding Re: badtrans again dated Sat, 8 Dec 2001 12:21:05
-0500 (EST), Dallman Ross said that ...

I have basically the same thing without the (doc|txt|xls)\.

If I read this correctly your filtering those 3 extensions ONLY when they
have a real period before AND after them. If that's correct it's a great
improvement over what I have and I wish to thank you for posting it here.

From: Dallman Ross <dman(_at_)nomotek(_dot_)com>
 
  :0  # conditions here came direct from Philip Guenther
  * 9876543210^0 ^Content-[-a-z0-9_]+:.*="?[^"]*\.(vb[se]|ws[fh]|hta|shs|\
                  pif|(doc|txt|xls)\.)
  * 9876543210^0 B ?? ^Content-[-a-z0-9_]+:.*($[        ].*)*=[  ]*\
                       ($[      ]+)*"?[^"]*\.(vb[se]|ws[fh]|hta|shs|pif|\
                       (doc|txt|xls)\.)
  { RECIPE = "${RECIPE:+$RECIPE }VIR_01" }
 
 Sorry, but I used copy-and-paste to insert the recipe, and I realized
 afterward that the tabs were thereby converted to spaces.  I should
 have been more careful, and also have noted that inside the "empty"
 brackets are always one space and one tab.
 
 Dallman Ross
 _______________________________________________
 procmail mailing list
 procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
 http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
 
 



-- 
Best Regards,

Tim Rice
---------------
Stationery & Stuff
Phuket Thailand
http://www.thaistuff.com
http://www.computerstuff.net
_______________________________________________
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>