Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-20-2002, 07:18 PM   #1
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Rep: Reputation: 15
Exclamation sendmail, apache and PHP help?

Would anyone know why sendmail is trying to use OTHER servers as a relay when mail comes from PHP?

All of a sudden, everything has gone bad with emails going out from php... and when digging in maillog, all I get is "DSN: Data format error" and "" for the failed mails.

Like... wtf is that?

I check mail sent to 'root' and it says the mail was "not allowed to be relayed here"... which I assume is from that relay above.

How do you force sendmail to send its OWN damned mail instead of trying to bounce it out of some other server? I dont get this ... it was working (so I thought) a week ago ... now this crud. AAAAAAAAAAAAAAAAAAAAAAAAA.
Old 06-21-2002, 01:24 AM   #2
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
you need to put your domain name into /etc/mail/access
also check if localhost is included there

Old 06-21-2002, 07:23 PM   #3
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Original Poster
Rep: Reputation: 15

Turns out localhost.localdomain was being used to external services... because the actual machine name wasn't clicking. THEN when it WAS, the machine named wasnt defined in dns... so it was claiming it was an invalid "possibly spoofed" host...

But... now seems all fine now that dns seems to have propogated to most everywhere.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2, PHP 5, SuSE 9.2 - cannot run php files dickohead Linux - Networking 6 06-28-2006 10:25 AM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
Apache, PHP or SendMail problem ?? dddlc Linux - Software 3 04-28-2003 07:13 AM
chrooting apache with php support - sendmail problems markus1982 Linux - Security 9 01-29-2003 05:13 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration