[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail Filterrezept



Hallo,

Am Tue, 17 May 2011, Michelle Konzack schrieb:
>oder um jeglich Debian-Mailinglisten  zu  filtern  ohne  jedesmal  einen
>neuen Filter anlegen zu müssen:
[..]
>  :0
>  * $ ^X-Mailing-List:.*[${ST}]\/.*
     ^??                  ^^^^^ Wo und wie ist das definiert?

>  { 
>    LISTNAME="${MATCH}"
>    LISTNAME=`echo "${LISTNAME}" |sed -e 's|@.*||' |tr '.' '_' ; :`

LISTNAME=`echo "${MATCH}" | sed -e 's|@.*||;s/\./_/g ;`

>    :0

Überflüssig.

>    ${LISTNAME}/.
>  }

-dnh

PS:
:0 H:
* ^X-Mailinglist: *\/opensuse.*
$MATCH

-- 
Ah, the beauty of OSS. Hundreds of volunteers worldwide volunteering
their time inventing and implementing new, exciting ways for software
to suck.                                              -- Toni Lassila


Reply to: