It appears you have not registered with our community. To register please click here ...

Author Topic: Trying to get PHP to send smtp through sendmail8  (Read 2184 times)

Joncamp

  • Newbie
  • *
  • Posts: 14
  • Karma: +10/-0
    • View Profile
    • Email
Trying to get PHP to send smtp through sendmail8
« on: June 15, 2006, 08:35:39 PM »
I dont know how to configure sendmail8, and I need to setup an email form in PHP, and PHP seems to use sendmail to email?  Why wont it work, do I need to configure sendmail8?

Thanks so much.:D

ctwjr

  • Super Moderator
  • Jr. Member
  • **
  • Posts: 72
  • Karma: +10/-0
    • View Profile
    • http://www.ftplive.com
    • Email
Trying to get PHP to send smtp through sendmail8
« Reply #1 on: June 19, 2006, 07:23:25 AM »
Did you check your mail log?  What is the entry recorded in there that we can look at?

Joncamp

  • Newbie
  • *
  • Posts: 14
  • Karma: +10/-0
    • View Profile
    • Email
Checked the mail log...
« Reply #2 on: June 19, 2006, 08:29:24 AM »
The mail log showed the destination email addr, and also said something like mail accepted and sent?  But the mail never got to the destination, and after a few hours I got a Linux mail message stating that sendmail failed to send the message for 4 hours.

????:eek:

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Trying to get PHP to send smtp through sendmail8
« Reply #3 on: June 23, 2006, 04:10:24 AM »
Quote from: Joncamp
The mail log showed the destination email addr, and also said something like mail accepted and sent? But the mail never got to the destination, and after a few hours I got a Linux mail message stating that sendmail failed to send the message for 4 hours.
 
????:eek:

I would like to help you with this, but need more exact information.  Can we see the exact mail log entry?  Also the mail message that was sent to you by the system.
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

Joncamp

  • Newbie
  • *
  • Posts: 14
  • Karma: +10/-0
    • View Profile
    • Email
Here are the mail errors I got...
« Reply #4 on: June 26, 2006, 11:21:34 AM »
Error #1:eek:

From MAILER-DAEMON@localhost.localdomain  Fri Jun 16 20:11:35 2006

451 rock.com: Name server timeout
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

Content-Type: message/delivery-status

Reporting-MTA: dns; localhost.localdomain
Arrival-Date: Fri, 16 Jun 2006 15:49:45 -0400

Final-Recipient: RFC822; jcam@rock.com
Action: delayed
Status: 4.4.3
Last-Attempt-Date: Fri, 16 Jun 2006 20:11:35 -0400
Will-Retry-Until: Wed, 21 Jun 2006 15:49:45 -0400

Error #2:eek:

From MAILER-DAEMON@localhost.localdomain  Fri Jun 16 20:11:36 2006
Subject: Warning: could not send message for past 4 hours
Auto-Submitted: auto-generated (warning-timeout)
Status: RO

The original message was received at Fri, 16 Jun 2006 15:49:48 -0400
from localhost.localdomain [127.0.0.1]

   ----- Transcript of session follows -----
451 campbellsolar.com: Name server timeout
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

Reporting-MTA: dns; localhost.localdomain
Arrival-Date: Fri, 16 Jun 2006 15:49:48 -0400

Final-Recipient: RFC822; jc1@campbellsolar.com
Action: delayed
Status: 4.4.3
Last-Attempt-Date: Fri, 16 Jun 2006 20:11:36 -0400
Will-Retry-Until: Wed, 21 Jun 2006 15:49:48 -0400

Error #3:eek:

From MAILER-DAEMON@localhost.localdomain  Wed Jun 21 10:37:46 2006
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
Status: R

The original message was received at Thu, 15 Jun 2006 21:16:23 -0400
from apache@localhost

   ----- The following addresses had permanent fatal errors -----
jc1@campbellsolar.com

   ----- Transcript of session follows -----
451 campbellsolar.com: Name server timeout
Message could not be delivered for 5 days
Message will be deleted from queue

To: jc1@campbellsolar.com
Subject: test
From: Jon

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Trying to get PHP to send smtp through sendmail8
« Reply #5 on: August 09, 2006, 02:42:47 PM »
Looks like it may be querying your server for DNS resolution but is there DNS service running on your server?  If not you would need to designate a server for DNS queries in the config.
Those who cannot learn from history are doomed to repeat it. -- Linux learns.