troubleshooting Question

sendmail not working

Avatar of tonelm54
tonelm54 asked on
LinuxEmail SoftwarePHP
2 Comments1 Solution452 ViewsLast Modified:
Good afternoon,
I have been trying to setup sendmail to work with PHP, but cannot seem to get it working correctly.

What Im trying to do is configure sendmail to relay all emails through another SMTP server on my network, I have downloaded and installed sendmail correctly (I belive), and configured it to send mail through my SMTP server, however when I try and do the command at the terminal "sendmail" I get no error, but in my mailbox (on the server) I get:-

The original message was received at Tue, 17 May 2011 15:33:37 +0100
from localhost []

   ----- The following addresses had permanent fatal errors -----
    (reason: 550 Host unknown)

   ----- Transcript of session follows -----
550 5.1.2 <>... Host unknown (Name server: host
not found)

Open in new window

If I try and telnet to on port 25 from the server, everything responds correctly.

What Im trying to do is get sendmail working at the command line at first, then fugure out why my php.ini doesnt work.

Im not really sure what I can upload to get any help with this, obviously its my onfiguration thats the issue, but not sure where the configuration file is to email you.

Any help would be appriciated.

Thank you

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros