[procmail rexeg] kom er maar niet uit

Pagina: 1
Acties:

  • usr-local-dick
  • Registratie: September 2001
  • Niet online
Heren script koningen

Ik probeer op allerlei manier mailtjes te filteren die majordomo gebounced heeft. Vaak zijn dit HTML mailtjes waarvan majordomo denkt dat het commando's zijn.
De body van de errors ziet er dan bv. zo uit:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
>>>> This is a multi-part message in MIME format.
**** Command 'this' not recognized.
>>>>
>>>> ------=_NextPart_000_0000_8191D67C.E20DFF9B
**** Command '------=_nextpart_000_0000_8191d67c.e20dff9b' not recognized.
>>>> Content-Type: multipart/alternative;
**** Command 'content-type:' not recognized.
>>>>     boundary="----=_NextPart_001_0001_A2342976.F7091E6C"
**** Command 'boundary="----=_nextpart_001_0001_a2342976.f7091e6c"' not
recognized.
>>>>
>>>>
>>>> ------=_NextPart_001_0001_A2342976.F7091E6C
**** Command '------=_nextpart_001_0001_a2342976.f7091e6c' not recognized.
>>>> Content-Type: text/plain; charset=iso-8859-1
**** Command 'content-type:' not recognized.
>>>> Content-Transfer-Encoding: 7bit
**** Command 'content-transfer-encoding:' not recognized.


IN mijn procmailrc heb ik nu staan:

code:
1
2
3
4
5
6
7
:0:
* ^To: Majordomo-Owner@terena.nl
{
        :0B
        **** Command '.*' not recognized
        $HOME/majordomo-bounces-test
}


maar helaas het werkt niet.
Iemand een idee?

Verwijderd

code:
1
2
3
4
5
6
7
:0:
* ^To: Majordomo-Owner@terena.nl
{
        :0B
        * \*+ Command '.*' not recognized
        $HOME/majordomo-bounces-test
}


(ongetest) ;)
Zou volgens mij al beter moeten werken. Ik weet alleen niet of je de apostrofjes moet escapen uit mijn hoofd.

[ Voor 6% gewijzigd door Verwijderd op 08-11-2004 12:19 ]