AW: [exim] Format error in spool file with 4.61 (buffer over…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: joerg.pichel
Dátum:  
Címzett: exim-users
Tárgy: AW: [exim] Format error in spool file with 4.61 (buffer overflow ?)

Hm. The spool files are already corrupt in spool-in/ with is the location where only exim stores to and MailScanner reads (and removes) from. I know the point that exim 4.61 changes the ACL variables but the point is that e.g.

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

is a spool file written by exim and it is corrupt even for exim because "-aclm 1 0" must not follow the "XX" line. If I disable MailScanner any only let exim spool the messages then the spool files are corrupted too. Herer is an example I produced some seconds ago. It seems to be a buffer overflow problem in the new ACL code.


###################################
1FWCnX-0008R4-8s-H
root 0 0
<TerriPearce@???>
1145453567 0
-helo_name pjn.qsrch.net
-host_address 59.187.229.192.3945
-interface_address 192.76.162.230.25
-received_protocol smtp
-aclc 1 109
X-sdm-Check-DNSbl-Warning: 59.187.229.192 is listed in list.dsbl.org (http://dsbl.org/listing?59.187.229.192)
-aclm 0 0

-aclm 1 109
X-sdm-Check-DNSbl-Warning: 59.187.229.192 is listed in list.dsbl.org (http://dsbl.org/listing?59.187.229.192)
-aclm 2 2
29
-body_linecount 293
-deliver_firsttime
-host_lookup_failed
XX
1
someone@???

170P Received: by world2.sdm.de (MTA) via smtp for <someone@???>...
#####################################################################

Jörg Pichel

-----Ursprüngliche Nachricht-----
Von: jetmore@??? [mailto:jetmore@wembley.cinergycom.net] Im Auftrag von John Jetmore
Gesendet: Mittwoch, 19. April 2006 14:57
An: Pichel, Jörg
Cc: exim-users@???
Betreff: Re: [exim] Format error in spool file with 4.61

On Wed, 19 Apr 2006 joerg.pichel@??? wrote:

>
> 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:


4.61 changed the format of the ACL variables stored in the spool files (see change 4.61-PH/06). Looks like MailScanner doesn't know about the new format or you are running an out of date version (or maybe the newest version isn't in Fink, which is looks like you are running).

--John