Report this

What is the reason for this report?

Troubleshoot Mail Server Using DigitalOcean Tutorial?

Posted on June 15, 2017

I followed the tutorial https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin to try and get a mail server running at home. I’m on Comcast, however, who blocks port 25, so I added this into the config in order to use the Comcast relay. This is the only thing I did differently.

relayhost = [smtp.comcast.net]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

I then made a file /etc/postfix/sasl_passwd and put:

smtp.comcast.net        COMCASTUSERNAME:COMCASTPASSWORD

As far as I’m aware, this should work, but when I put in the details in Gmail it says it can’t reach the server. As for Gmail, I have:

SMTP Server: mydomain.net
Port: 25 [Since I'm using the relay, I'm assuming my end should be configured to 587 and outside should be pointed to 25, although I did try 587 on Gmail, too, to no avail.]
Username: email3@mydomain.net [I have 3 test accounts]
Password: [That account's password]
And I have "Secured connection using TLS" bubbled.

How should I go about troubleshooting this? Thanks.



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!

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.

@forestman11

I’ve not personally tried this with Comcast, so I can’t verify that this indeed works, though I’d check:

https://sysmgr.org/blog/2013/05/26/sending_postfix_mail_via_comcast_smtp/

From there, if you run in to any issues, reply back and we can try to troubleshoot from there :-).

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.