here is what I get:
root@mail:~# iptables -L -n
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:587
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 8
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:10000
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
this is what I get in outlook:
when port 110 and 25 are on and SSL/TLS is on none.
now when I switch it back to 995 for incoming and leave port 25 alone still getting same error message about SMTP cant connect.
Now this is the logs when I use webmin:
Jul 23 15:57:49 mail postfix/master[1535]: daemon started -- version 2.9.6, configuration /etc/postfix
Jul 23 16:02:30 mail postfix/master[1535]: reload -- version 2.9.6, configuration /etc/postfix
Jul 23 16:02:31 mail postfix/postqueue[2083]: fatal: Cannot flush mail queue - mail system is down
Jul 23 16:08:45 mail postfix/master[1535]: reload -- version 2.9.6, configuration /etc/postfix
Jul 23 16:08:45 mail postfix/postqueue[2261]: fatal: Cannot flush mail queue - mail system is down
Jul 23 17:12:03 mail postfix/master[1535]: reload -- version 2.9.6, configuration /etc/postfix
Jul 23 17:12:03 mail postfix/postqueue[3205]: fatal: Cannot flush mail queue - mail system is down
Jul 23 17:44:23 mail postfix/master[1535]: terminating on signal 15
Jul 23 17:45:06 mail postfix/master[3931]: daemon started -- version 2.9.6, configuration /etc/postfix
postfix is started.