Package: popfile
Version: 0.22.4-1
Severity: normal

Hi!

Occasionally, I get emails with slightly weird headers - with a mix of
dos and unix line endings in the headers (Like the lower 6 header lines
has windows endings). Popfile doesn't handle this too well, as it treats
it like the doss newline is the end of headers, so popfile inserts
its headers after that.

I guess the cause for this is some semi-broken webmail thingies, but I
see it more and more common.

A snippet from a email that has been thru popfile is here:

(the occurences of ^M in my vim has been replaced by me with ¤

Received: by xxxxxx.xx (Postfix, from userid 33)
        id A8DD3704AA; Fri, 17 Aug 2007 07:37:37 +0000 (UTC)
To: [EMAIL PROTECTED]
Subject: mod_rewrite
Received: from 84.16.171.200 (auth. user [EMAIL 
PROTECTED])¤X-Text-Classification: ham
X-POPFile-Link: http://127.0.0.1:7070/jump_to_message?view=229737
Status: R
X-Status: NC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

          by xxxxx.xx with HTTP; Fri, 17 Aug 2007 09:37:37 +0200¤
To: [EMAIL PROTECTED]
Subject: mod_rewrite¤
Date: Fri, 17 Aug 2007 09:37:37 +0200¤
X-Mailer: IlohaMail/0.8.14 (On: xxxxxxxx.xx)¤
Message-ID: <[EMAIL PROTECTED]>¤


(the email body also uses dos line endings)

If popfile could correct this, it would be very nice.

/SUne

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-vserver-k7 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages popfile depends on:
ii  adduser                       3.104      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.14     Debian configuration management sy
ii  libdbd-sqlite2-perl           2:0.33-6   Perl DBI driver with a self-contai
ii  libhtml-tagset-perl           3.10-2     Data tables pertaining to HTML
ii  libhtml-template-perl         2.9-1      HTML::Template : A module for usin
ii  libsoap-lite-perl             0.69-2     Client and server side SOAP implem
ii  libtimedate-perl              1.1600-8   Time and date functions for Perl
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

popfile recommends no packages.

-- debconf information:
* popfile/popport: 7071
* popfile/backupcorpus: true
* popfile/poplocal: true
* popfile/uiport: 7070
* popfile/uilocal: true

Reply via email to