![]() |
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain
Hi all,
RedHat 9, using sendmail 8.9 and PHP 4.2.2 Certain ISPs are rejecting emails which have originated from a PHP form on my server. Sample bounced mail: ===================================== The original message was received at Thu, 19 Feb 2004 10:54:49 GMT from orca [127.0.0.1] ----- The following addresses had permanent fatal errors ----- <user's email address@user's domain.com> (reason: 550 rejected: cannot route to sender <apache@localhost.localdomain>) ----- Transcript of session follows ----- ... while talking to mx01.schlund.de.: >>> DATA <<< 550 rejected: cannot route to sender <apache@localhost.localdomain> 554 5.0.0 Service unavailable ===================================== I'm at a loss as to what I've mis-configured. My various files are: [root@orca MailingList]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 orca localhost.localdomain localhost 192.168.1.10 jimwillsher.co.uk 81.168.116.142 jimwillsher.co.uk [root@orca MailingList]# cat /etc/resolv.conf nameserver 212.104.130.9 nameserver 212.104.130.65 domain jimwillsher.co.uk [root@orca MailingList]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=orca GATEWAY=192.168.1.1 Sendmail Local Domains table (via webmin) jwillsher.co.uk jimwillsher.co.uk localhost apache httpd.conf (selected line) # ServerName orca.jimwillsher.co.uk:80 Within PHP I'm setting the FROM address to my own emal address, but somehow the apache@localhost.localdomain is slipping through. Can anyone suggest what I'm doing wrong? I'm stumped on this, and I'm "all googled out" trying to find the answer. Heeeeelllllllppppppppppppppppppp! :) Jim |
Okay, think I've sussed it. Doh!
Changed: root@orca MailingList]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 orca localhost.localdomain localhost 192.168.1.10 jimwillsher.co.uk 81.168.116.142 jimwillsher.co.uk to root@orca MailingList]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 orca jimwillsher.co.uk localhost.localdomain localhost 192.168.1.10 jimwillsher.co.uk 81.168.116.142 jimwillsher.co.uk and the messages seem to be going out.... Jim |
sendmail question
I have the same issue but I need to ask a question to clear some things up.
I noticed two IP address for your domain/computer one public and one private. How does this work? Is the private IP address the local box running sendmail? Is public IP address the address of your dns server? Do you have to add MX records to the DNS server. Or is this done automatic? |
All times are GMT -5. The time now is 08:48 AM. |