Bug#405311: sa-exim: filtered mail headers are sometimes thrashed

2007-01-08 Thread Magnus Holmgren
tags 405311 + moreinfo
thanks

On Tuesday 02 January 2007 15:08, Janusz A. Urbanowicz wrote:
 Since sa-exim was enabled in the exim's config, it happens sometimes
 (about once a week on a very busy mail system) that the Subject: line of
 filtered messages is thrashed:

  From: []
  Sent: Thursday, December 21, 2006 4:12 PM
  To: []
  Subject: [warszawa] X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005
 10:44:12 +0100)


 It seems like sa-exim misses or does not insert proper line endings when
 adding its header line.

OK, but naturally it's difficult to pinpoint a bug that manifests itself that 
sporadically.

Is it always the Subject field that misses the newline? Never the X-Spam-* 
fields?

Is [warszawa] the entire contents of the original Subject field? Is it always 
just the newline that disappears?

Actually, the only way I can see that this bug can happen, is if line 442: 
*header=string_sprintf(%s\n, *header); were mysteriously skipped. If memory 
allocation fails Exim panics and dies, which would cause the mail to be 
deferred.

-- 
Magnus Holmgren[EMAIL PROTECTED]  [EMAIL PROTECTED]
sa-exim maintainer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405311: sa-exim: filtered mail headers are sometimes thrashed

2007-01-02 Thread Janusz A. Urbanowicz
Package: sa-exim
Version: 4.2-2
Severity: important

Since sa-exim was enabled in the exim's config, it happens sometimes
(about once a week on a very busy mail system) that the Subject: line of
filtered messages is thrashed:

 From: [] 
 Sent: Thursday, December 21, 2006 4:12 PM
 To: []
 Subject: [warszawa] X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 
+0100)
  
   
It seems like sa-exim misses or does not insert proper line endings when
adding its header line.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages sa-exim depends on:
ii  debconf [debconf-2.0] 1.4.30.13  Debian configuration management sy
ii  exim4-daemon-light4.50-8sarge2   lightweight exim MTA (v4) daemon
ii  libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  spamc 3.0.3-2sarge1  Client for SpamAssassin spam filte

-- debconf information:
  sa-exim/purge_spool: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]