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