procmail
[Top] [All Lists]

Re: how to sort mails from mailing lists?

2005-10-26 16:57:58
On Tue, 25 Oct 2005 07:20 pm, Realos wrote:
:0:

* ^(T[Oo]|C[Cc])(_dot_)*gnupg-users(_at_)gupg(_dot_)org
gnupg-users

My procmail recipe for that list was:

:0  
* ^TO_gnupg-(users|announce)@gnupg\.org
.Lists.GnuPG\ Users/

Note I was not performing any locking because of delivery to a Maildir 
system.

Note also that ^TO_ is a macro.  From the procmailrc man page:

     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.

I suspect the biggest reason it isn't working is because you've misspelled 
"gnupg.org" ;-)

Cheers,
Pete.

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