Hi
ever since we�ve added the server in DNS, sendmail stopped working, but everything seems to be configured properly although in the mail logs we see:
Jul 10 16:52:58 itc01 sendmail[5593]: t6AEqrHT005593: from=root, size=6, class=0, nrcpts=1, msgid=<201507101452.t6AEqrHT005593@itc01.headquarter.tmm>, relay=root@localhost
Jul 10 16:53:08 itc01 sendmail[5593]: t6AEqrHT005593: to=myname@dominio.co.yy, ctladdr=root (0/3), delay=00:00:15, xdelay=00:00:10, mailer=relay, pri=30006, relay=192.168.1.39, dsn=5.1.2, stat=Host unknown (Name server: 192.168.1.39: host not found)
itc01[320]/etc/mail #
but in /etc/hosts file I have:
192.168.1.39 exchange-hub.headquarter.tmm
the
/etc/resolv.conf
is:
more /etc/resolv.conf
domain dominio.co.yy
nameserver 192.168.1.69
nameserver 192.168.1.39
search headquarter.tmm
and the
/etc/nsswitch.conf
:
passwd: compat
group: compat
hosts: files dns
ipnodes: dns [NOTFOUND=return] nis [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
#aliases: files nis
aliases: files
services: nis [NOTFOUND=return] files
Please can you help?
---------- Post updated at 05:23 PM ---------- Previous update was at 05:07 PM ----------
problem solved , I have put the FQDN of the server DS macro of
sendmail.cf