Version 4, Exim and header rewrites - patch required?
Ray Gardener
R.A.Gardener at SHU.AC.UK
Tue Jan 21 16:47:26 GMT 2003
Hi,
I have examined the spool files produced by both version 3 and 4 of mailscanner and think that there may be a sight bug which is preventing the rewriting of certain header fields. Version 3 which works, specifies after the header length of these fields a character (F in the From: header, T in the To: header). Version 4 leaves out these letters. The exim specification suggest that these letters should be there and inserting them in files produced by version 4 and forcing delivery gives me mail with the headers rewritten perfectly.
__________________________________________________________________________________________
An excerpt from section 56 the Exim 3.3 specification is reproduced below
The flags at present contain only one bit, which is set for one_time addresses. It indicates that <parent number> is the offset in the recipients list of the original parent of the address. The third number of the trio is for future expansion and is currently always zero. A blank line separates the envelope and status information from the headers which follow. A header may occupy several lines of the file, and to save effort when reading it in, each header is preceded by a number and an identifying character. The number is the number of characters in the header, including any embedded newlines and the terminating newline. The character is one of the following:
<blank> header in which Exim has no special interest
B Bcc: header
C Cc: header
F From: header
I Message-id: header
P Received: header -- P for `postmark'
R Reply-To: header
S Sender: header
T To: header
* replaced or deleted header
Deleted or replaced (rewritten) headers remain in the spool
__________________________________________________________________________________________
Regards,
Ray Gardener
CIS
Sheffield Hallam University
Howard Street
Sheffield
UK
S1 1WB
(44) 0114 225 4926
----- Original Message -----
From: Ray Gardener
To: MailScanner mailing list
Sent: Monday, January 20, 2003 11:06 AM
Subject: Version 4, Exim and header rewrites
Hi,
I upgraded from version 3 to version 4 of Mailscanner last week and found that the header rewrites configured in my Exim 3.36 configuration no longed worked. Briefly we rewrite all internal addresses with an external form before passing the mail to the outside world.
e.g.
r.a.gardener at shuexchangebox.shu.ac.uk becomes R.A.Gardener at shu.ac.uk
This rewrite stopped after upgrading to version 4. Upon just downgrading the installation to version 3 of Mailscanner the rewriting restarted. Has anyone else seen this? (and of course is there a fix?)
Regards,
Ray Gardener
CIS
Sheffield Hallam University
Howard Street
Sheffield
UK
S1 1WB
(44) 0114 225 4926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030121/2bb01240/attachment.html
More information about the MailScanner
mailing list