postfix/smtp Connection timed out
Hello, I'm really frustrated.
I have a site running in a Centos 7 using php5.6, php-fpm and percona...
For some reason I can't send emails from this server. I have another site running in a another server with same specs and it works without any problem.
Now I'm testing using the most basic command I know:
echo "My message" | /usr/sbin/sendmail firstname.lastname@example.org
and when I check the maillog I see:
Feb 5 14:17:52 stilo postfix/pickup: 8FB533FDAE: uid=0 from=<root> Feb 5 14:17:52 stilo postfix/cleanup: 8FB533FDAE: message-id=<20160205191752.8FB533FDAE@stilo.localdomain> Feb 5 14:17:52 stilo postfix/qmgr: 8FB533FDAE: from=<email@example.com>, size=267, nrcpt=1 (queue active) Feb 5 14:18:22 stilo postfix/smtp: connect to mx2.hotmail.com[220.127.116.11]:25: Connection timed out
I have tested it sending to different email providers and I got the same error.
I have check my /etc/postfix/main.cf side by side with the other server and they have the same configs.
Any clue of what could be wrong???