[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: Christopher Ness <chris_at_nesser.org>
Date: 2005-07-05 20:33:00 CEST

On Tue, 2005-07-05 at 11:06 -0600, Bob Proulx wrote:
> Christopher Ness wrote:
> > I just joined the dev@ list and have been a member of the users list for
> > a while. I notice that I'm going to be getting a lot more duplicate
> > emails.
> Such as this one. (And I don't read the dev list so I don't know what
> discussion follows there, or even if my message will post to it
> because I am not subscribed.) Crossposting is generally discouraged.

Sadly yes, I thought others might like to benefit from being able to
filter their mail too.

> > If mail went to all 3, I'd only get the one from dev@
> > If mail went to personal and users@ receive message from the users@ list
> > discard the personal message.
> You might want to use something like this:
> :0:
> * ^TO_users@subversion.tigris.org
> Lists/svn/users

I think this might be the solution - but currently is untested.

  1) Filter out emails that have both my email and subversion
     lists in the recipients, but did not originate from the list
  2) Filter out duplicates (first list message delivered is saved)
  3) Filter lists from subversion.tigris.org lists into a mailbox.

When I feel confident it is working (perhaps after this test) I plan to
send the files to /dev/null instead of the duplicates maildir.

        ## 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.
        ## 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
        * ^(To|Cc):.*@nesser\.org*
        * ^(To|Cc):.*@subversion\.tigris\.org*
        * ! ^Mailing-List.*subversion.tigris.org

        # --- handle duplicate email ---
        # http://www.zer0.org/procmail/tony.html
        :0 Whc: $MESG_ID.lock
        | formail -D 196608 $MESG_ID
                :0 a:

        # Subversion List Rule
        * ^Mailing-List.*subversion.tigris.org

All svn lists go in the same folder. You could split them out if you'd
like into dev and user by repeating the rule and adding more information
to the reg exp in the List Rule.


Wireless Group,
McMaster University
14:07:13 up 4:05, 1 user, load average: 0.95, 0.33, 0.12
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 5 20:35:04 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.