Guys, I changed mailserver name:
-bash-3.00# nslookup autodiscover.azerfon.az
Server: 10.10.1.3
Address: 10.10.1.3#53
Name: autodiscover.azerfon.az
Address: 10.10.1.86
-bash-3.00#
# "Smart" relay host (may be null)
#DSmail.azerfon.az:sms.narmobile.az
DSautodiscover.azerfon.az
and here is my hosts file:
-bash-3.00# cat /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
10.15.208.88 analizator analizator.com loghost
10.15.208.89 Analizator2
#10.10.1.86 mail.azerfon.az mailhost autodiscover.azerfon.az
10.10.1.86 autodiscover.azerfon.az mailhost
10.75.58.83 sms.narmobile.az
-bash-3.00#
I tried send mail and can see that requests again going through 10.13.44.16 (which is not mentioned anywhere)
Its not production server, so I can test things there, but I have no idea what ca be the reason
GP81, I didn't get what you meant under:
Can u pls let me know which line I should comment?
Here is my nsswitch.conf file:
-bash-3.00# grep "^host" /etc/nsswitch.conf
hosts: files dns
-bash-3.00#
-bash-3.00#
-bash-3.00#
-bash-3.00# cat /etc/nsswitch.conf
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# /etc/nsswitch.dns:
#
# An example file that could be copied over to /etc/nsswitch.conf; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.
passwd: files
group: files
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files
-bash-3.00#
---------- Post updated at 11:32 AM ---------- Previous update was at 10:08 AM ----------
Hi again,
I found where the problem was.
Problem was in submit.cf file:
D{MTAHost}[mail.azerfon.az]
after modifing this line and restarting mail services, problem has been solved.
Thanks to all for the help!