Can't send email from droplet to to some servers,others are OK

  • Posted January 2, 2015

I’m using postfix and cyrus which I set up as directed with mixed results. Yahoo and Gmail handle my emails well. Hotmail put it in the spam folder but doesn’t after being notified it’s not span. I tested by reading maillog after an attempt to send mail from DOserver to my roadrunner email account and observing maillog. Here is the maillog entry: Jan 2 06:10:55 Hanksite postfix/smtp[20314]: 49C48609ED:,[]:25, delay=15, delays=0.02/0.01/15/0, dsn=4.5.4, status=deferred (host[] refused to talk to me: 554 5.5.4 Relaying denied. IP name lookup failed for myIPaddress)

It looks like they can’t get through my smtp port. Why don’t the other major servers have the problems ? How can I fix this?



See my answer below. Forgot to tag you and editing doesn’t allow me to tag.

Submit an 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.

Hi, Problem solved with reverse DNS record. This is also known as a PTR record. Checked with support and P. Singh indicated that the PTR record is automatically set to the droplet name. You must therefore change the droplet name to your domain name.(i.e. To change the name of the droplet : Go to the control panel and select droplet. Then click on your droplet’s name. Next select Settings from the horizontal display of choices.(Ignore the Settings choice in the main vertical menu) Then select Rename and type in the new name.

If you’re new to DigitalOcean, they may be blocking Port 25. That’s pretty common and it’s a measure in place to prevent spam since the entry level is cheap (which spammers love).

To get that lifted, you’ll need to contact them via support ticket.

I have never set up any mail servers before, but anyway:

Do you have a reverse DNS entry so it is possible to look up the domain name from the IP?