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("[EMAIL PROTECTED]", "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 <= [EMAIL PROTECTED] U=nobody P=local S=485 [EMAIL PROTECTED] 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 <= [EMAIL PROTECTED] U=root P=local S=351 2007-11-24 15:46:17 1IvwGu-0001WV-Md => [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 1195992278 0 -ident nobody -received_protocol local -body_linecount 31 -auth_id nobody -auth_sender [EMAIL PROTECTED] -allow_unqualified_recipient -allow_unqualified_sender -deliver_firsttime -local -sender_set_untrusted XX 1 [EMAIL PROTECTED] 162P Received: from nobody by c123456.serwerydedykowane.pl with local (Exim 4.50) id 1IwGE2-0001Jq-Qa for [EMAIL PROTECTED]; Sun, 25 Nov 2007 13:04:38 +0100 030T To: [EMAIL PROTECTED] 077 Subject: =?ISO-8859-2?q?Odpowied=BC_na_post_=27Travian_- _gra_ktos=3F=3F=27?= 048F From: "forum.mydomain.pl" <[EMAIL PROTECTED]> 031* Return-Path: [EMAIL PROTECTED] 031 Auto-Submitted: auto-generated 060I Message-ID: <[EMAIL PROTECTED]> 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]