[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Exim4 and mail problems



Hi,

Some time ago I moved my forum to new server, unfortunately during it
one problem showed up. Emails sent from forum didnt come to
recipient.
I wrote simple php script to test it:

test.php
<?php
mail("myaccount@gmail.com", "Subject", "Line 1\nLine 2\nLine3");
?>

I ran it: : php -q test.php
Mail was sucesfully delivered to recipient.

Now I tried to send email using forum form, but it wasn't delivered.
Logs looked like below:


tail -f /var/log/exim4/mainlog

2007-11-24 15:44:19 1IvwF0-0001W5-Uz <= myaccount@gmail.com U=nobody
P=local S=485 id=200711241418.9b2c40134343@forum.mydomain.pl
2007-11-24 15:44:19 1IvwF0-0001W5-Uz Format error in spool file
1IvwF0-0001W5-Uz-H: size=861


For mail sent by test.php script it looked like this:

2007-11-24 15:46:16 1IvwGu-0001WV-Md <= root@mydomain.pl U=root
P=local S=351
2007-11-24 15:46:17 1IvwGu-0001WV-Md => myaccount@gmail.com
R=dnslookup
T=remote_smtp H=gmail-smtp-in.l.google.com [64.233.183.114]
2007-11-24 15:46:17 1IvwGu-0001WV-Md Completed

Have you ever had similiar problem? Unfortunately I'm new in admin
role, that's why I'm sending it here.
Will be very thanksfull for any help.

I checked file format in spool and it's looking fine I think, no idea
what could be wrong here (maybe some problems with nobody user? )

Below sample data file for email with the same format error.

1IwGE2-0001Jq-Qa-H
nobody 65534 -1
<myaccount@gmail.com>
1195992278 0
-ident nobody
-received_protocol local
-body_linecount 31
-auth_id nobody
-auth_sender nobody@mydomain.pl
-allow_unqualified_recipient
-allow_unqualified_sender
-deliver_firsttime
-local
-sender_set_untrusted
XX
1
user@poczta.onet.pl

162P Received: from nobody by c123456.serwerydedykowane.pl with local
(Exim 4.50)
        id 1IwGE2-0001Jq-Qa
        for user@poczta.onet.pl; Sun, 25 Nov 2007 13:04:38 +0100
030T To: user@poczta.onet.pl
077  Subject: =?ISO-8859-2?q?Odpowied=BC_na_post_=27Travian_-
_gra_ktos=3F=3F=27?=
048F From: "forum.mydomain.pl" <myaccount@gmail.com>
031* Return-Path: myaccount@gmail.com
031  Auto-Submitted: auto-generated
060I Message-ID: <200711251238.2e7c1f153963@forum.mydomain.pl>
018  MIME-Version: 1.0
047  Content-Type: text/plain; charset="ISO-8859-2"
032  Content-Transfer-Encoding: 8bit
014  X-Priority: 3
033  X-Mailer: vBulletin Mail via PHP
038  Date: Sun, 25 Nov 2007 13:04:38 +0100

cheers,
Marcin



Reply to: