[exim-dev] Strange Error after 4.50 upgrade ...

Góra strony
Delete this message
Reply to this message
Autor: Keith E Smith
Data:  
Dla: exim-dev
Temat: [exim-dev] Strange Error after 4.50 upgrade ...
Haallpp::

I've encountered something with Exim 4.50 recently compiled. I have a
program that has literally been running for years on this server
unchanged. During the upgrade I left the filters intact but upgraded
SPF,SA,ClamAV

***I turned off SA*** to see if that was the problem. It is off in
this example

I'll take *any* suggestion, because I just don't see it. The config
file hasen't change significantly if at all since 4.12, and I've done
two other upgrades. Local mail should bypass most of the checks anyway

I have a php script that generates the following in a *file*::
------
From: Web Program <hostmaster@???>
To: carolk@???
Subject: 401K MTD Summary File
Content-Type: multipart/mixed;
boundary="++Mime-Boundary+20050429000005+16516++"
MIME-Version: 1.0

This is a multi-part message in MIME format.
--++Mime-Boundary+20050429000005+16516++
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Here is the csv file.

--++Mime-Boundary+20050429000005+16516++
Content-Type: text/plain;
name="pc071.csv"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="pc071.csv"

last_name,first_name,ssn,address,city,state,zip,job_code1,term_date,rehire_date,start_date,date_of_birth,wage
s,employee_401k,employer_401k,loan_401k,hours,mtd_wages
<CSV Data>
--++Mime-Boundary+20050429000005+16516++--
------

This file is then submitted via sendmail in a php script direct *not*
via the php mail() call.

-----
if($mailto != "-") {
     system("/usr/sbin/sendmail $mailto < $mail_file");
     rename($mail_file, "$mail_file.done");
}
-----


And the following error pops up in the log:

-----
2005-04-29 00:00:08 1DRMfg-0004IR-Nu <= nobody@???
U=nobody P=local S=27730
2005-04-29 00:00:08 1DRMfg-0004IR-Nu Format error in spool file
1DRMfg-0004IR-Nu-H: size=839
-----

And the mail is not delivered  I now have a bunch of these sitting in 
the spool
[keith@b0201]/opt/exim/spool/input<335>l
total 448
-rw-r-----    1 mail     mail        27254 Apr 28 12:43 1DRC6X-0008WQ-Fv-D
-rw-r-----    1 mail     mail          839 Apr 28 12:43 1DRC6X-0008WQ-Fv-H
-rw-r-----    1 mail     mail        27248 Apr 28 13:03 1DRCQU-00009R-Es-D
-rw-r-----    1 mail     mail          837 Apr 28 13:03 1DRCQU-00009R-Es-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:02 1DRDL4-0000UT-KG-D
-rw-r-----    1 mail     mail          838 Apr 28 14:02 1DRDL4-0000UT-KG-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:05 1DRDOc-0000VD-JT-D
-rw-r-----    1 mail     mail          838 Apr 28 14:05 1DRDOc-0000VD-JT-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:06 1DRDP5-0000VO-B5-D
-rw-r-----    1 mail     mail          838 Apr 28 14:06 1DRDP5-0000VO-B5-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:06 1DRDPN-0000VZ-TZ-D
-rw-r-----    1 mail     mail          838 Apr 28 14:06 1DRDPN-0000VZ-TZ-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:07 1DRDPj-0000Vr-AC-D
-rw-r-----    1 mail     mail          838 Apr 28 14:07 1DRDPj-0000Vr-AC-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:10 1DRDSk-0000Wd-1d-D
-rw-r-----    1 mail     mail          838 Apr 28 14:10 1DRDSk-0000Wd-1d-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:11 1DRDU8-0000X1-CG-D
-rw-r-----    1 mail     mail          838 Apr 28 14:11 1DRDU8-0000X1-CG-H
-rw-r-----    1 mail     mail        27251 Apr 28 14:12 1DRDVA-0000XJ-Qt-D
-rw-r-----    1 mail     mail          838 Apr 28 14:12 1DRDVA-0000XJ-Qt-H
-rw-r-----    1 mail     mail        27251 Apr 28 15:35 1DREne-0001mN-1E-D
-rw-r-----    1 mail     mail          838 Apr 28 15:35 1DREne-0001mN-1E-H
-rw-r-----    1 mail     mail        27251 Apr 28 15:49 1DRF0x-0002HY-IC-D
-rw-r-----    1 mail     mail          811 Apr 28 15:49 1DRF0x-0002HY-IC-H
-rw-r-----    1 mail     mail        27254 Apr 28 18:41 1DRHhV-0003ev-Fq-D
-rw-r-----    1 mail     mail          839 Apr 28 18:41 1DRHhV-0003ev-Fq-H
-rw-r-----    1 mail     mail        27254 Apr 29 00:00 1DRMfg-0004IR-Nu-D
-rw-r-----    1 mail     mail          839 Apr 29 00:00 1DRMfg-0004IR-Nu-H


-----

Taking a Peek at the last one...

-----

[keith@b0201]/opt/exim/spool/input<336>cat 1DRMfg-0004IR-Nu-H
1DRMfg-0004IR-Nu-H
nobody 99 -1
<nobody@???>
1114747208 0
-ident nobody
-received_protocol local
-body_linecount 215
-auth_id nobody
-auth_sender nobody@???
-allow_unqualified_recipient
-allow_unqualified_sender
-deliver_firsttime
-local
XX
1
carolk@???

152P Received: from nobody by terminix-triad.com with local (Exim 4.50)
         id 1DRMfg-0004IR-Nu
         for carolk@???; Fri, 29 Apr 2005 00:00:08 -0400
050F From: Web Program <hostmaster@???>
030T To: carolk@???
031  Subject: 401K MTD Summary File
081  Content-Type: multipart/mixed; 
boundary="++Mime-Boundary+20050429000005+16516++"
018  MIME-Version: 1.0
051I Message-Id: <E1DRMfg-0004IR-Nu@???>
043S Sender: nobody <nobody@???>
038  Date: Fri, 29 Apr 2005 00:00:08 -0400
-----



Thanks in advance for any insight, I've been off and on this list in
the past, but haven't devoted much time to it of late, as Exim is so
stable. The integration of exiscan was the reason I bothered to upgrade
the last time. I got tired of hacking it in :).

Keith