I'm having one really hard time configuring Postfix on my CentOS droplet. No matter what I do, the smtp service times out when connecting to an outside server (gmail, yahoo, etc.). I've tried following DigitalOcean's article, a howto on the CentOS wiki, and countless suggestions on various forums/message boards to no avail. I went so far as disabling iptables to see if it was a firewall issue, with no success. If anyone has successfully installed Postfix on CentOS 6, please let me know how! I've posted an example below (bear in mind "myhostname" isn't actually my hostname)
Oct 14 00:30:34 myhostname postfix/smtp[3615]: connect to gmail-smtp-in.l.google.com[173.194.68.27]:25: Connection timed out
Oct 14 00:31:04 myhostname postfix/smtp[3615]: connect to alt1.gmail-smtp-in.l.google.com[173.194.67.26]:25: Connection timed out
Oct 14 00:31:34 myhostname postfix/smtp[3615]: connect to alt2.gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
Oct 14 00:32:04 myhostname postfix/smtp[3615]: connect to alt3.gmail-smtp-in.l.google.com[173.194.70.27]:25: Connection timed out
Oct 14 00:32:34 myhostname postfix/smtp[3615]: connect to alt4.gmail-smtp-in.l.google.com[173.194.69.26]:25: Connection timed out
Oct 14 00:32:34 myhostname postfix/smtp[3615]: 9C4191217A7: to=, relay=none, delay=150, delays=0.03/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.69.26]:25: Connection timed out)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.
×