Running Redhat enterprise server 5.4 w/sendmail version 8.13.8, Outbound emails fail with "550-Verification failed for <firstname.lastname@example.org>"
When displaying sendmail version at command line ( /usr/lib sendmail -v -d0,1 </dev/null) the display shows:
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = localhost
(canonical domain name) $j = localhost.localdomain
(subdomain name) $m = localdomain
(node name) $k = removed here, it is correct
The node name is correct. I removed it for confidentiality. The other names need to match it.
I understand that I need to change the default "local.domain" in sendmail configuration to the correct domain name.
But I don't understand how to change it.
/etc/network is correct for the expected domain name.
I added the correct domain name in "/etc/mail/local-hosts-names" and that is the only entry in that file. I did restart sendmail.
One site suggests editing "/etc/hosts" by placing the correct domain name at the beginning of that file. Currently that file shows:
127.0.0.1 localhost.localdomain localhost correct.domain.name
::1 localhost6.localdomain6 localhost correct.domain.name6
I am concerned that reversing the /etc/hosts file entries will break connectivity. What do you think?
One site suggest there is a line in the sendmail.mc file for DOMAIN that should be edited for the correct domain name. I can't find such a line.
This machine is not intended to be a primary email server. We use sendmail to send system advisory messages to admins and other victims. There is no virtualization or relaying or similar email activities involved.