Results 1 to 1 of 1
Thread: sendmail errors, please help!
Jun 4, 2001, 12:46 #1
- Join Date
- Dec 2000
- Norcross, GA
- 0 Post(s)
- 0 Thread(s)
sendmail errors, please help!
The root mail log (var/mail/root) has a lot of failed deliveries. The reason stated on every one is:
501 5.1.8 <email@example.com>... Domain of sender address firstname.lastname@example.org does not exist
501 5.6.0 email@example.com,firstname.lastname@example.org... Data format error
When checking linuxconf, the host name is 'intranet' (without singlequotes). I checked sendmail's configuration file, etc/sendmail.cf, and found a line that lists 'company.com', which in and of itself is a valid domain.extension.
# my offcial domain name
# ... define this only if sendmail cannot automatically determine your domain)"
I'm hesitant to change the sendmail.cf file, as a) not sure if it will fix my problem and b) not sure if it has to be recompiled through through m4 I went ahead and made a backup of sendmail.cf. I then commented out the line listed in the previous post, like so:
Restarted sendmail with /etc/rc.d/init.d/sendmail restart
OK appears on shutdown and restart.
Send mail with php script. Check maillog, get this error notice now:
stat=deferred: 451 4.1.8 <email@example.com>... Domain of sender address firstname.lastname@example.org does not resolve.
I'm basically stuck here. I think I know what the problem is (getting a fully qualified sending hostname), but have no idea of how to correct it. I would greatly appreciate some assistance.- Mike