Question

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

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: to=myname@cfl.rr.com, relay=cdptpa-pub-iedge-vip.email.rr.com[107.14.166.70]:25, delay=15, delays=0.02/0.01/15/0, dsn=4.5.4, status=deferred (host cdptpa-pub-iedge-vip.email.rr.com[107.14.166.70] 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?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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. mydomain.com) 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.
ralper3

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?