Moin, * Michelle Konzack wrote (2006-04-24 13:18): >In procmail ist es noch einfacher:
Äh, ja klar.
> :0
> * ^X-Mailing-List:.*<[EMAIL PROTECTED]>
> {
> :0c
> * ^Received:.*uol\.
> .ATTENTION.TEST.uol/
>
> :0
> * ^X-Mailing-List:.*<debian-\/[-a-zA-Z0-9]+
> .ML_debian.$MATCH.$MOBOX/
> }
>
> SPAMTAG=""
>}
>--------------------------------------------------------------------
>
>Vor allem der lezte abschnitt ist interessant, denn er sortiert
>absolut ALLE Mailinglisten von l.d.o ein, ohne das ich was
>nachträglich mit jeder neuen Liste editieren muß. :-)
Schöner Trick. Warum das doppelte Matching?
Ungetestet, aber mit Maildrop könnte das so klappen:
if (/^X-Mailing-List:.*<[EMAIL PROTECTED]>/)
{
box = $MATCH2
if (/^Received:.*uol\./)
{
cc .ATTENTION.TEST.uol/
}
to "$box/"
}
Thorsten
--
A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?
pgpeStDtaOnjq.pgp
Description: PGP signature

