[exim] "Format error is spool file" in /etc/exim/main.log

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ritchie P. Fraser
Date:  
À: exim-users@exim.org
Sujet: [exim] "Format error is spool file" in /etc/exim/main.log
Hi,

I have a clean CentOS 6.4 server and installed Baruwa using Jeremy McSpadden's installer script (https://github.com/fluxlabs/baruwa/blob/master/2.0/cent6/install.sh) Which installs Baruwa (and dependencies, including exim).

I can telnet into the server (telnet 192.168.0.200 25)
and create a mail thus...

> 220Baruwa 2.0 Mon, 20 May 2013 12:28:10 +0100
> mail from: rpf@???<mailto:rpf@mycompany.co.uk>
> 250 OK
> rcpt to: rpf@???<mailto:rpf@mycompany.co.uk>
> 250 Accepted
> Data
> 354 Enter message, ending with "." on a line by itself
> Subject: Test
>
> Test
> .
> 250 OK id=1UeOGc-0003Ej-9S
>


But the message never gets delivered (forwarded) to our Exchange server.

The /var/log/exim/main.log gets the following lines added to it...

2013-05-20 12:28:35 no host name found for IP address 192.168.0.109
2013-05-20 12:28:50 1UeOGc-0003Ej-9S <= it@???<mailto:it@mycompany.co.uk> H=[192.168.0.109] P=smtp S=239
2013-05-20 12:28:50 1UeOGc-0003Ej-9S Format error in spool file 1UeOGc-0003Ej-9S-H: size=581

There are two files in /var/spool/exim.in/input 1UeOGc-0003Ej-9S-H and 1UeOGc-0003Ej-9S-D

- - - - - 8< - - - - - - - - - - - - - - -
[root@mailwasher input]# cat 1UeOGc-0003Ej-9S-H
1UeOGc-0003Ej-9S-H
exim 93 93
<it@???>
1369049318 0
-host_address 192.168.0.109.52026
-interface_address 192.168.0.200.25
-active_hostname marge.marinesoftware.ext
marge.altmail.marinesoftware.ext
-received_protocol smtp
-body_linecount 3
-max_received_linelength 8
-deliver_firsttime
-host_lookup_failed
XX
1
rpf@???

223P Received: from [192.168.0.109]
       by marge.marinesoftware.ext with smtp (Baruwa 2.0)
       (envelope-from <it@???>)
       id 1UeOGc-0003Ej-9S ret-id none;
       for rpf@???; Mon, 20 May 2013 12:28:50 +0100
- - - - - 8< - - - - - - - - - - - - - - -
[root@marge input]# cat 1UeOGc-0003Ej-9S-D
1UeOGc-0003Ej-9S-D
Subject


Test
- - - - - 8< - - - - - - - - - - - - - - -


I am assuming that this is an exim issue, because the error appears in the exim log file...

How do I fix this?

Kind Regards,
Ritchie Fraser
Systems Administrator

T : +44 (0) 1304 840506
F : +44 (0) 1304 840075
W : http://www.marinesoftware.co.uk

Marine Software Limited
Planned Maintenance, Stock Control, Project (Refit) Management, Purchasing,
Safety and ISM Document Management systems for the Marine Industry since 1991.
---------------------------------------------------------------------------------------------------------------------------
Unless otherwise agreed expressly in writing by Marine Software Limited, This communication and attachments are to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it was sent. If you are not the intended recipient of this communication you should notify the sender immediately, then destroy it without copying, disclosing or otherwise using its contents. Marine Software Limited. Registered in England & Wales. No 2576494 Registered Office. 4 Ozengell Place, Eurokent Business Park, Ramsgate. Kent. United Kingdom. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.