On Mon, Mar 16 2015, Marco Giusti wrote:
>
> Buongiorno a tutti,
>
> vorrei proporre un paio di cambiamenti alla mailing-list. Il primo
> riguarda il soggetto: ogni volta viene preposta la scritta "[Python] ".
> Non sarebbe possibile toglierla? La trovo ridondante e non specifica ed
> è una possibile causa di confusione con i soggetti delle email.
> Es.
> Subject: Re: [Python] Re: Re: Re: Richiesta di aiuto
>
> Questo è quanto succede se rispondo ad un'email. Come possibile effetto
> collaterale alcuni filtri potrebbero risentirne.
>
> Il secondo è di cambiare l'indirizzo della mailing-list. Attualmente è
> [email protected]. Trovo che un indirizzo più specifico sia più
> facile da gestire, per esempio python-it@... oppure zonapython@...
> lasciando [email protected] come alias.
>
> Ogni commento è benvenuto.
> Marco
Comunque non c'è cosa che non si possa fare con procmail.
# python.it
:0
* ! ^List-Id: Discussioni generali sul linguaggio Python
<python\.lists\.python\.it>
* ! ^TO_python@lists\.python\.it
{ }
:0 Efhw
{
:0 fhw
| formail -I "X-List-Classify: zonapython"
# Remove [Python] from the subject.
:0 fhw
| sed -e "s/^\(Subject:.*\)\[Python\]\( \)*/\1/I"
}
:0
* ^X-List-Classify: \/.*
{
# Remove X-List-Classify header.
:0 fhw
| formail -I X-List-Classify
# Remove [listname] from the subject.
:0 fhw
| sed -e "s/^\(Subject:.*\)\[$MATCH\]\( \)*/\1/I" \
-e "/^Reply-To:.*$MATCH@/ d" \
-e "s/^Old-Reply-To:/Reply-To:/"
# Remove duplicate reply strings.
:0 fhw
* ^Subject:[ \t]*Re?:
| sed -re "s/^(Subject: *)(Re: *)+/Subject: Re: /I"
# For reading.
:0
lists/$MATCH/
}
Così riesco a trasformare un soggetto come:
Subject: Re: [Python] Re: Re: Re: Richiesta di aiuto
in:
Subject: Re: Richiesta di aiuto
Marco
_______________________________________________
Python mailing list
[email protected]
http://lists.python.it/mailman/listinfo/python