[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: OT: Multiple Lists - Filtering multiple mails

From: Bob Proulx <bob_at_proulx.com>
Date: 2005-07-05 22:46:18 CEST

Christopher Ness wrote:
> ## Look to see if my personal email is on the list of recipients from a
> ## "Reply-To-All" button. People need larger reply to list buttons.

Agreed. Very strongly!

> ## Having multiple lines of tests is a logical AND
> ## Recipe filtering stops on the first delivery - order matters
> ## ! after the * is a negation of the test
> :0:
> * ^(To|Cc):.*@nesser\.org*
> * ^(To|Cc):.*@subversion\.tigris\.org*
> * ! ^Mailing-List.*subversion.tigris.org
> duplicates

I think using the TO procmail macro might be better here.

       If the regular expression contains ‘^TO_’ it will be substituted by
       ‘(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
       |Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)’, which should catch
       all destination specifications containing a specific address.

So maybe?

  :0:
  * ^TO_.*@nesser\.org*
  * ^TO_.*@subversion\.tigris\.org*
  * ! ^Mailing-List.*subversion.tigris.org
  duplicates

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 6 10:19:13 2005

This is an archived mail posted to the Subversion Dev mailing list.