[Top][All Lists]

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

Re: Modified patch (was Re: [bug-anubis] GNU Anubis 4.0 released.)

From: Sergey Poznyakoff
Subject: Re: Modified patch (was Re: [bug-anubis] GNU Anubis 4.0 released.)
Date: Sun, 02 Jan 2005 17:53:33 +0200

Paolo <address@hidden> wrote:

> yep - I was just writing that the bug was still there :) - new patch 
> applied, anubis running as normal demon (ie no debug flags), .anubisrc
> corrected with dblslash, tried both :perl and :extended: doesn't crash
> though regex subst doesn't work anymore, ie the block at msg end
> X-Anomy:---------------------------------------------------------------+ 
> X-Anomy: Originale: unnamed.html
> X-Anomy: URL: https://<url>/8207.unnamed.html.gz
> X-Anomy: VerrĂ  cancellato tra 1 settimana
> X-Anomy: Will be deleted in 1 week
> X-Anomy:---------------------------------------------------------------+

Paolo, please notice that that is not what the message actually
contains!!! In reality it contains the following block:

--cut here---
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

=0A=0A=0A                           " Sereno Natale =0A=0A                 =
       e Felice Anno Nuovo!  "=0A=0A                                       =
                            Staff=0A   SCICON=0A=0A=0A=0A               [1]=
www.scicon.it=0A=0A   =0A=0A   =0A=0A   =0A=0A   =0A=0A   =0A=0A   =0A=0A  =
 =0A=0A   =0A=0A   =0A=0A   =0A=0A   =0A=0A   =0A=0A=0A=0A=0A=0A   =0A=0A  =
 =0A=0A=0A=0A   =0A=0A   =0A=0A   =0A=0A=0A=0A    Chiuso per festivit=E0 na=
talizie dal 24/12 al 09/01/05 compresi=0A=0A   =0A=0A      =0A             =
    =0A=0AReferences=0A=0A   1. http://www.scicon.it/=0A=0AX-Anomy:--------=
-------------------------------------------------------+=0AX-Anomy: Origina=
le: unnamed.html=0AX-Anomy: URL: http://comix:8280/paolop/22101.unnamed.htm=
l.gz=0AX-Anomy: Verr=E0 cancellato tra 1 settimana=0AX-Anomy: Will be delet=
ed in 1 week=0AX-Anomy:----------------------------------------------------=
--cut here---

(Open it with `vi' and you will see it). That is actually what `modify
body' has to cope with. Therefore the simple rule

modify body :perl ["\\s*X-Anomy.*"] ""

does not work in this case. It will remove *some* occurences of X-Anomy
strings, while leaving untouched the others. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]