Report this

What is the reason for this report?

Email sent to gmail is marked spam (IP listed in CBL)

Posted on July 9, 2015

Hi,

I am on a Ubuntu VPS. Emails sent to gmail is going in to the spam folder. And some mail clients even won’t receive it even to the spam folder :(

http://www.spamhaus.org/query/ip/45.55.183.209

http://cbl.abuseat.org/lookup.cgi?ip=45.55.183.209

My “/etc/hosts” file looks like this

127.0.1.1 ocr ocr 127.0.0.1 localhost localhost.localdomain ocr

Please help me to resolve this issue

Regards, Upul.



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.

edit /etc/postfix/main.cf

find the line that says

mydomain = localhost

or

mydomain = localhost.localdomain

edit it so it says your domain. In this example, let’s say your domain is domain.com:

mydomain = domain.com

restart postfix

service postfix restart

and you should be good.

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.