Re: en-tête de liste ;-)
Alain Vaugham a écrit, mercredi 4 février 2009, à 19:04 :
> Le mercredi 4 février 2009 18:27, spir a écrit :
>
> | C'est pas très pratique pour trier...
> Pour trier, j'utilise ces recettes Procmail :
>
> :0:
> * ^(From|To|Cc).*debian-user-french@lists.debian.org.*
> ${HOME}/ML-debian
Ton .* final fatigue inutilement Procmail :)
> :0:
> * ^To:.*debian-security-announce@lists.debian.org
> ${HOME}/ML-debian-[SECURITY][DSA
On peut trier toutes les listes debian à la fois :
# Filtrage des mailing-lists Debian
# [ ] contient espace et tabulation
:0
* ^X-loop:[ ]*\/[^ ]*@lists\.debian\.org
{
# Sélection de liste
:0:
* MATCH ?? ^^\/[^@ ]+
LIST.${MATCH}
}
De même avec Maildrop
# tri des listes debian
if ( "$FROM" =~ /bounce-debian-/ )
{
exception {
if ( /^X-Loop: (debian-[a-z0-9-]+)/ )
to "Mail/LIST.$MATCH1"
}
# précaution inutile
to 'Mail/LIST.debian.recup'
}
--
Jacques L'helgoualc'h
Reply to: