Re: Strange header problem.
"Jon Ferguson" <[email protected]> Wed, 22 Mar 2006 12:09:11 -0600
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply. Shortly after sending the request, I found "SAPrependArchiveWithFrom" in the config. Setting this to false prevented the line from being prepended. I have no need for mbox, so there should not be any adverse affects, correct? Just to clarify, the date is intentionally not correct? -----Original Message----- From: Marc MERLIN [mailto:[email protected]] Sent: Wednesday, March 22, 2006 11:41 AM To: Jon Ferguson Cc: [email protected] Subject: Re: [SA-exim] Strange header problem. On Wed, Mar 22, 2006 at 09:17:39AM -0800, Jon Ferguson wrote: > Messages rejected by sa-exim produce headers similar to this > > >From [email protected] Thu Jan 1 00:00:01 1970 > > Received: from ****************** ([***********] helo=********************) > > By mail2 with esmtp (Exim 4.60) > > (envelope-from <[email protected]>) > > id 1F2LxA-0005ne-M2 > > for ****@*****.org; Thu, 26 Jan 2006 23:15:20 -0600 > > The top header of every message in SApermpreject and SAtempreject is a From > header but a date is appended, on top of that the date is incorrect. I > assume that violates some RFC standard. I can't figure why it is doing > this. I am trying to build a web interface to delete or release rejected > messages but the date in the From header is causing problems. SA-Exim adds that fake line at the top to make the message look like an mbox message in addition to being in a maildir folder. If you read the maildir folder as maildir, that From line should not be used, but I can see that some tool would be upset by that. Ultimately, this line is fake and it's added by SA-Exim only so that you can do cat new/* > mbox; mutt -f mbox The date should have a correct format though. If you think it upsets your tool, you can edit it in the sa-exim source or binary and change it to whatever you'd like Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger [email protected] for PGP key