Am 2005-01-28 03:27:04, schrieb Stevan Kanban: > J'ai oublié de préciser que j'utilisais le format Maildir et que formail ne > gère que le format > mbox (split).
Le filtre por procmail: ____( '/home/michelle.konzack/.procmail/ML_Debian' )__________________ / | ##################################################################### | # | # Debian GNU/Linux Mailinglists | # | ##################################################################### | | :0 | * ^X-Mailing-List:.*(lists.debian.org) | { | :0 | * ^X-Mailing-List:.*(debian-68k@lists.debian.org) | .lists.debian.org.debian-68k/ | | :0 | * ^X-Mailing-List:.*(debian-curiosa@lists.debian.org) | .lists.debian.org.debian-curiosa/ | | :0 | * ^X-Mailing-List:.*(debian-events-eu@lists.debian.org) | .lists.debian.org.debian-events-eu/ | | :0 | * ^X-Mailing-List:.*(debian-firewall@lists.debian.org) | .lists.debian.org.debian-firewall/ | | :0 | * ^X-Mailing-List:.*(debian-laptop@lists.debian.org) | .lists.debian.org.debian-laptop/ | | :0 | * ^X-Mailing-List:.*(debian-news-french@lists.debian.org) | .lists.debian.org.debian-news-french/ | | :0 | * ^X-Mailing-List:.*(debian-security-announce@lists.debian.org) | .lists.debian.org.debian-security-announce/ | | :0 | * ^X-Mailing-List:.*(debian-user-french@lists.debian.org) | .lists.debian.org.debian-user-french/ | | :0 | * ^X-Mailing-List:.*(debian-user-german@lists.debian.org) | .lists.debian.org.debian-user-german/ | | :0 | * ^X-Mailing-List:.*([EMAIL PROTECTED]) | .lists.debian.org.debian-user-greek/ | | :0 | * ^X-Mailing-List:.*(debian-user-turkish@lists.debian.org) | .lists.debian.org.debian-user-turkish/ | | :0 | * ^X-Mailing-List:.*(debian-user@lists.debian.org) | .lists.debian.org.debian-user/ | | } \_____________________________________________________________________ Je metre tout les Messages en "$HOME/Maildir/.0_tdformail" et utiliser mon script ____( '/home/michelle.konzack/bin/tdformail' )________________________ / | #!/bin/bash | | BASEDIR=$HOME/Maildir/0_tdformail | | let X=1 | for i in `find $BASEDIR -type f` ; do | echo -n $X" : " | cat $i | formail -ds procmail | # ATTENTION: ici il suprimer le fichier | rm -f $i | let X=$X+1 | done \_____________________________________________________________________ Du rearranger mon Maildir. Bone Chance Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature