View Single Post
Old 27th August 2005, 10:17
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Originally Posted by Roman
Now I am really confused. I went to /var/spool/mail/root and found ALL the emails. But all of them had this text::
"The original message was received at Sun, 21 Aug 2005 18:54:11 -0500
from localhost.localdomain []

----- The following addresses had permanent fatal errors -----

----- Transcript of session follows -----
<>... Deferred: Connection timed out with
Message could not be delivered for 5 days
Message will be deleted from queue

Content-Type: message/delivery-status

Reporting-MTA: dns;
Arrival-Date: Sun, 21 Aug 2005 18:54:11 -0500

Final-Recipient: RFC822;
Action: failed
Status: 4.4.7
Remote-MTA: DNS;
Last-Attempt-Date: Fri, 26 Aug 2005 20:26:03 -0500

Content-Type: message/rfc822

Return-Path: <>
Received: from (localhost.localdomain [])
by (8.13.4/8.13.4) with ESMTP id j7LNsB88024885
for <>; Sun, 21 Aug 2005 18:54:11 -0500
Received: (from nobody@localhost)
by (8.13.4/8.13.4/Submit) id j7LNsBF0024884;
Sun, 21 Aug 2005 18:54:11 -0500
Date: Sun, 21 Aug 2005 18:54:11 -0500
Message-Id: <>
Subject: roman recommends this site
MIME-Version: 1.0
From: "" <>
Content-type: text/plain; charset=iso-8859-1

Your friend roman ( has recommended this site to you. "

Hope I understand this correctly. On my website I collect Name, fromEmail, toEmail and the message. When I click send email, which should be sent from "fromEmail" to "toEmail", all I get is a new entry in /var/spool/mail/root.
I would appreciate your help.

Yes, this is the spool directory of your MTA (sendmail) where PHP puts your email messages for delivery. This shows us that PHP is working correctly. The errors above show you that yahoo is not accepting the messages from your MTA. Maybe your server is on a DSL line with a dynamic IP? Many large email providers did not accept emails from dynamic IP's anymore.
Reply With Quote