Mailscanner and Exim - Spool File Return Code problems.

Martin.Hepworth martinh at
Fri May 9 08:54:32 IST 2008

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Julian Field
> Sent: 08 May 2008 21:46
> To: MailScanner discussion
> Subject: Re: Mailscanner and Exim - Spool File Return Code problems.
> Chris,
> Chris Russell wrote:
> >> It will recreate the outbound queue file if the message has changed at
> >> all, otherwise it should just copy the spool file.
> >>
> >
> >  Just had a look at one of them, the body looks unchanged, the headers
> however are {Spam?}
> >
> >
> >>  When I look at the spool file (-D),  the end line is the end of the
> >> HTML and no \r\n is present.
> >> Is this just in the outbound queue file, or also in the inbound file
> and/or in any quarantine file created?
> >>
> >
> >  Its the outbound queue. I've not caught any in quarantine or input yet.
> I do know that another plain exim server we have passes these ok.
> >
> >  Exim is configured with 2 seperate queues in and out.
> >
> >
> >> It sounds like it may well be a bug. I'll take a look in the Exim code
> and work out a fix for you. It needs to go in all the output copies of
> >> the original, as the message should end with a proper line termination
> sequence.
> >>
> >
> >  Thanks for this :) - I would have thought exim would check too mind
> you!
> >
> The guy who writes Exim is about the only sane one there is. Every other
> MTA author is brain-damaged in one way or another :-)
> Theoretically it's a test he doesn't need to do, and it's faster without
> it (slightly). So he probably optimised it out. About the only author
> who actually banked on the fact that people would play with queue files
> was the author of sendmail. He did it properly, documented them, put
> error checks in them, everything. At the other end of the scale is
> P*****x who say you mustn't even look at the fact they exist, let alone
> actually read them.
> Jules
> --
> Julian Field MEng CITP CEng


Unfortunately Phil Hazel retired Sept 2007 and hence there's been very little Exim development since as his exim work was sponsored by his work. There's a couple of guys co-ordinating stuff but very relatively little work going on AFAIK.



Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom

More information about the MailScanner mailing list