Hey guys
Just set up a new server with
Operating system CentOS Linux 6.5
Kernel and CPU Linux 2.6.32-431.3.1.el6.x86_64 on x86_64
Loaded (via the install script)
Webmin version 1.675 Virtualmin version 4.06.gpl GPL
Create a virtual domain and some email users.
When I send email to any of the users it never gets there.
I looked at the /var/log/messages and /var/log/maillog
everything seems fine and no mention of mail refused
I looked at the /var/log/maillog of the server, named cloud, that I sent the email from and it says
Feb 24 12:12:38 cloud postfix/qmgr[4275]: 1A4C82B0CDB: to=abc@ms3.abc.com, orig_to=abc@abc.com, relay=none, delay=261839, delays=261839/0.52/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ms3.abc.com[1xx.2xx.1xx.2xx]: Connection refused)
So looked for firewall issues
First
#netstat -tln | grep :25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 ::1:25 :::* LISTEN
and then
iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
.
ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
.
REJECT all – 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all – 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
So next looked at /etc/postfix/main.cf
and the following is uncommented
inet_protocols = all
So what gives any ideas???
Nicholas