LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail, apache and PHP help? (https://www.linuxquestions.org/questions/linux-software-2/sendmail-apache-and-php-help-23931/)

ifm 06-20-2002 07:18 PM

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 "relay=smtp-mx.mac.com" 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 mac.com 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.:mad:

Noerr 06-21-2002 01:24 AM

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

;)

ifm 06-21-2002 07:23 PM

Thanks.

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.


All times are GMT -5. The time now is 07:52 AM.