procmail
[Top] [All Lists]

Re: how to sort mails from mailing lists?

2005-10-25 12:41:16
On Oct 24, 2005, at 11:20 PM, Realos wrote:

what is the best way you people with more experience with procmail 
would
suggest to me.

It Depends.[tm]

Is the header X-BeenThere the flag to look for?

Normally, I trigger on a substring of Return-Path:, myself.
Eg, in this case:

        :0
        * 
^Return-Path:(_dot_)*procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE

Some sites don't add that header.
Oh well.

* ^To(_dot_)*gnupg-users(_at_)gupg(_dot_)org
* ^Cc(_dot_)*gnupg-users(_at_)gupg(_dot_)org

You seek ^TO.

            % man procmailrc

for more details.
But again, that's not what I'd recommend, because sometimes, people 
might Bcc a list,
and then what do you key on?

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
   and Usenet Registration handy..."


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>