Re: Verifying .procmailrc settings to delete high scoring spam messages

2013-04-09 Thread Lucio Chiappetti
On Sun, 7 Apr 2013, Bob Proulx wrote: Thomas Cameron wrote: I believe that would match ... and redirect the e-mail to /dev/null. Am I right? I would'nt comment on the exact procmail syntax. I have lots of procmail rules but wrote them long ago and my memory is getting rusty. I would commen

Re: Much better procmail alternative (was Re: Verifying .procmailrc settings to delete high scoring spam messages)

2013-04-09 Thread Martin Gregorie
On Mon, 2013-04-08 at 19:41 -0400, David F. Skoll wrote: > On Mon, 8 Apr 2013 16:02:27 -0600 > Bob Proulx wrote: > > > Karsten Bräckelmann wrote: > > > > Unfortunately, no. While procmail implements some flavor of > > > "extended" Regular Expressions, there are still quite some > > > differences

Much better procmail alternative (was Re: Verifying .procmailrc settings to delete high scoring spam messages)

2013-04-08 Thread David F. Skoll
On Mon, 8 Apr 2013 16:02:27 -0600 Bob Proulx wrote: > Karsten Bräckelmann wrote: > > Unfortunately, no. While procmail implements some flavor of > > "extended" Regular Expressions, there are still quite some > > differences to other regex engines, I got sufficiently fed up with procmail that I

Re: Verifying .procmailrc settings to delete high scoring spam messages

2013-04-08 Thread Bob Proulx
Karsten Bräckelmann wrote: > Bob Proulx wrote: > > * ^X-Spam-Level: \*{10} > > Unfortunately, no. While procmail implements some flavor of "extended" > Regular Expressions, there are still quite some differences to other > regex engines, like egrep's or PCRE. Most notably, the repetition > opera

Re: Verifying .procmailrc settings to delete high scoring spam messages

2013-04-08 Thread Karsten Bräckelmann
On Sun, 2013-04-07 at 21:44 -0600, Bob Proulx wrote: [ Bunch of good advise snipped. ] > :0 > * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* > devnull/ > > Since procmail uses Extended Regular Expressions there is one more > optimization I would make. I wouldn't list out every star. It gets > har

Re: Verifying .procmailrc settings to delete high scoring spam messages

2013-04-07 Thread Thomas Cameron
On 04/07/2013 10:44 PM, Bob Proulx wrote: Thomas Cameron wrote: :0: * ^X-Spam-Level:.*\*\*\*\*\*\*\*\*\*\* /dev/null I believe that would match 10 asterisks or more, and redirect the e-mail to /dev/null. Am I right? Mostly all okay. However I don't like the ".*" in the front of it. That isn

Re: Verifying .procmailrc settings to delete high scoring spam messages

2013-04-07 Thread Bob Proulx
Thomas Cameron wrote: > :0: > * ^X-Spam-Level:.*\*\*\*\*\*\*\*\*\*\* > /dev/null > > I believe that would match 10 asterisks or more, and redirect the > e-mail to /dev/null. Am I right? Mostly all okay. However I don't like the ".*" in the front of it. That isn't likely to cause trouble but it