By drenew1618
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=myPersonalAccount@gmail.com, 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)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
SMTP is blocked by DigitalOcean for new accounts. You must open a ticket and it will be solved instantly. It need account verification.
We’ve recently had to disable port 25 on many accounts due to large amount of network abuse and spam. <br> <br>It looks like you might be affected by this issue, a simple test would be: <br> <br>$ telnet aspmx.l.google.com 25 <br>Trying 173.194.70.26… <br>Connected to aspmx.l.google.com. <br>Escape character is ‘^]’. <br>220 mx.google.com ESMTP l9si4881367wie.32 <br>^] <br>telnet> quit <br>Connection closed. <br> <br>If you are not greeted with the ESMTP prompt, that means your account is restricted from port 25 traffic currently. In which case I would recommend opening a support ticket from your control panel account and we’ll review and grant access on a case by case basis. <br> <br>Thanks, <br> <br>Ben
Hi ben, <br> <br>I tried your command and wasn’t greeted with an ESMTP prompt, so I opened a support ticket. Thank you for your help!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.