We use exim in conjunction with MailScanner.
The "listener" exim
/sw/bin/exim -bd -odq -DMSG_LOGS=false -DSPOOL=/sw/pkg/exim/var/spool-in -oP /sw/pkg/exim/var/run/exim-in.pid
accepts incoming SMTP mails and puts it (and leave it for MailScanner) in spool-in/input. MailScanner (4.51.6) works on this queue and delivers back to a "non listening" exim with spool files in spool/input:
/sw/bin/exim -q30m -oP /sw/pkg/exim/var/run/exim.pid
exim.cf has lines:
MSG_LOGS = true
message_logs = MSG_LOGS
With exim 4.60 (and any predecessor) everything is working smothly. With exim 4.61 not a single email could be delivered because auf "Format error in spool file". Here are some extracts of the *-H files with corrupt entries laying aroung in spool-in/input and spool/input.
Can someone help me? Do you need more details? Exim without this split-spool (without MailScanner) has no problems. MailScanner could not handle the broken spool files, too.
1FU1RG-00088G-E7-H
root 0 0
<sentto-16071460-1143-1144933219-someone=gmx.com@???>
1144933246 0
-host_address 213.165.64.100.57990
-helo_name mx0.gmx.net
-aclm 0 0
-host_name mx0.gmx.net
-interface_address 192.76.162.229.25
-received_protocol smtp
XX
-aclm 1 0
156P Received: by world1.sdm.de (MTA) via smtp for <someone@???> ...
## ##
1FU1RU-00086w-C4-H
root 0 0
<philip@???>
1144933260 0
-host_address 87.74.227.68.1317
-aclc 1 143
-helo_name friend
-host_name host-87-74-227-68.bulldogdsl.com
-interface_address 192.76.162.229.25
-received_protocol esmtp
NN 87.74.227.68
-aclm 0 0
193P Received: by world1.sdm.de (MTA) via esmtp for <someone@???> ...
## ##
1FU1Ut-0008Bl-Ay-H
root 0 0
<sender@???>
1144933471 0
-host_address 212.19.41.18.49023
-aclc 1 72
-helo_name mta.senderdomain.de
-interface_address 192.76.162.229.25
-received_protocol esmtp
NN Reverse
-aclm 0 0
163P Received: by world1.sdm.de (MTA) via esmtp for <someone@???> ...
## ##
1FU1QU-00086W-3L-H
root 0 0
<sender@???>
1144933198 0
-helo_name helo.senderdomain.de
-host_address 149.239.170.50.58797
-host_name mta.senderdomain.de
-interface_address 192.76.162.229.25
-received_protocol esmtp
-aclm 0 0
-aclm 1 51
Invalid sender <sender@???> -aclm 2 2
30
-body_linecount 300
-deliver_firsttime XX
1
someone@???
183P Received: by world1.sdm.de (MTA) via esmtp for <someone@???> ...
## ##
1FU1R6-00087l-5L-H
root 0 0
<sender@???>
1144933236 0
-helo_name helo.senderdomain.com
-host_address 145.247.40.52.17277
-host_name mta.senderdomain.com
-interface_address 192.76.162.229.25
-received_protocol esmtp
-aclm 2 10
1144933236
-body_linecount 775
-deliver_firsttime
XX
1
someone@???
183P Received: by world1.sdm.de (MTA) via esmtp for <someone@???> ...
## ##
1FU1Q6-00073u-Hf-H
root 0 0
<sender@???>
1144933174 0
-host_address 62.197.4.40.20069
-aclc 1 147
-helo_name helo.senderdomain.de
-host_name mta.senderdomain.com
-interface_address 192.76.162.230.25
-received_protocol esmtp
NN Remote
-aclm 0 0
216P Received: by world2.sdm.de (MTA) via esmtp for <someone@???> ...
## ##
1FU1Wc-00075q-6l-H
root 0 0
<notify-return-someone=sdm.de@???>
1144933578 0
-host_address 66.163.187.206.34556
-aclc 1 132
-helo_name n15c.bullet.sc5.yahoo.com
-host_name n15c.bullet.sc5.yahoo.com
-interface_address 192.76.162.230.25
-received_protocol smtp
NN 66.163.187.206
-aclm 0 0
172P Received: by world2.sdm.de (MTA) via smtp for <someone@???> ...
Jörg Pichel
--
Joerg Pichel mailto:joerg.pichel@sdm.de
sd&m AG http://www.sdm.de
software design & management
Carl-Wery-Str. 42, D-81739 Muenchen, Germany
Tel +49 89 63812-112, Fax -555