Hello,
I have a problem using exim4 under Debian.
I can send a mail correctly using the command line.
But when using the PHP mail function, I have a "format error in spool file"
error, so that the mails never come. Can anyone help me ?
Thank you,
Fabrice
--------------------------------------------------------------------------
Elements are the following (domain name modified by mydomainname.fr in the
logs)
The PHP test is the following (I also tested using different headers, etc) :
$destinataire = "odabu@???";
$objet = "Test";
$message = "This is a test" ;
mail($destinataire, $objet, $message);
in the mainlog I have :
2006-01-11 16:08:03 1EwhZz-0006yc-0I Format error in spool file
1EwhZz-0006yc-0I-H: size=61
The message log msglog is :
2006-01-11 16:08:03 Received from nobody@??? U=nobody P=local
S=313
And the input file :
1EwhZz-0006yc-0I-H
nobody 65534 -1
<nobody@???>
1136992083 0
-ident nobody
-received_protocol local
-body_linecount 1
-auth_id nobody
-auth_sender nobody@???
-allow_unqualified_recipient
-allow_unqualified_sender
-deliver_firsttime
-local
XX
1
odabu@???
140P Received: from nobody by mydomainname2887 with local (Exim 4.50)
id 1EwhZz-0006yc-0I
for odabu@???; Wed, 11 Jan 2006 16:08:03 +0100
022T To: odabu@???
014 Subject: Test
047I Message-Id: <E1EwhZz-0006yc-0I@crossvalue2887>
036F From: nobody <nobody@???>
038 Date: Wed, 11 Jan 2006 16:08:03 +0100