procmail
[Top] [All Lists]

Re: Procmail flaky??

2002-04-27 02:36:57
Hi Parv & Edward,
I have considerable experience in the use of procmail in heavy duty mail
applications.  When using "|" I usually have "()" round the whole expression.
I have suspected for some time that procmail has a problem with either long
match lines or ones containing a significant number or ORs.  I am about to
disect procmail to give a talk on the internals of procmail.   I would
suggest passing the complete message to a perl script where you can be 100%
certain on  what is happening.
On Fri, 26 Apr 2002, parv wrote:

<in message <200204251856(_dot_)LAA06879(_at_)athena1(_dot_)atmel(_dot_)com>,
<wrote Edward Huang thusly...
<>
<> procmail was working just fine when ... used as a Local Delivery
<> Agent ... with only 30 employees.  now ... implemented as a
<> gateway ... with a volume of over 20,000 emails/day getting a lot
<> of false filtering
<>
<> ONE EXAMPLE:
<>
<> procmail: Match on "^From:.*Free Money|JDR Direct Offers|Web 
Hosting|Channels|Fr
<> ee Recruitment|Equalamail|Money Maker|Shirts 
Express|Lifestyle|SpecialOffers|Aut
<> o Financing|downloads|PennyHaven|SmallCap|Scholarships|Payment 
Center|FoundMoney
<> |MonsterHut|Joke|Child Support|EMailHello|TopOffers|Free 
Stuff|uBid|GetRichNow|M
<> yPre|Sweet"
<...
<> the word sweet only appears in the SUBJECT of the email
<> the rest of the email is blank.
<
<
<based on the example alone, i would suggest first (well, only thing
<i could suggest) that you use parentheses around the regex,
<something like...
<
<* ^From:.*(free money|jdr direct offers ... uBid|GetRichNow)
<
<...then try again and keep fingers crossed ... somebody else
<may have better idea(s).
<
<  - parv
--
Andrew Smith
Managing Director

******************************************************************************
Andrew Smith BSc(Hons), MBA
Valley Technology Research  Limited,
Edinburgh
SCOTLAND
email: asmith(_at_)vtrl(_dot_)co(_dot_)uk)
******************************************************************************

_______________________________________________
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>