I'm trying to send email but without using the root account, but failed as shown below;
Using root account
Code: Select all
[root@XXXXXX ~]# telnet XXXXXX.mail.protection.outlook.com 25
Trying XXX.XX.XXX.XX...
Connected to XXXXXX.mail.protection.outlook.com.
Escape character is '^]'.
220 XXXXXX.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Thu, 11 Apr 2019 03:53:53 +0000
Code: Select all
[nonroot@XXXXXX ~]$ telnet XXXXXX.mail.protection.outlook.com 25
Trying XXX.XX.XXX.XX...
telnet: connect to address XXX.XX.XXX.XX: Connection refused
Trying XXX.XX.XXX.XX...
telnet: connect to address XXX.XX.XXX.XX: Connection refused
I have disabled the SElinux as others have suggest on similiar question, but still failed.
Please help, i have another 7 other Centos6 server need to be upgraded to Centos7 until next year, this issue might hold that back.
This is my server current configuration;
Linux howdensg2.howdensolutions.com 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.
SElinux disabled.
firewalld.service inactive.
iptables -L -n --line-numbers. without the INPUT section.
Code: Select all
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 cpanel-dovecot-solr all -- 0.0.0.0/0 0.0.0.0/0
Chain cpanel-dovecot-solr (1 references)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport sports 8984,7984 owner UID match 988
2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport sports 8984,7984 owner UID match 0
3 REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport sports 8984,7984 reject-with icmp-port-unreachable
Chain cphulk (1 references)
num target prot opt source destination