Report this

What is the reason for this report?

Outlook.com wont receive sendmail but gmail does..

Posted on December 18, 2013

Hi,

I’m using echo “My test email being sent from sendmail” | /usr/sbin/sendmail someemail@outlook.com with hosts file:

127.0.0.1 localhost localhost.localdomain mydomainname

The emails reach perfectly fine to gmail accounts (spam) but never reach any outlook.com accounts. Anyone knows what would could be the issue?

I also tried with hosts: 127.0.0.1 targetmoon.localhost mydomainname . Same results.

Appreciate any help :)

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.

<b>“127.0.0.1 localhost localhost.localdomain mydomainname”</b> <br> <br>That’s your culprit. You need a properly-formatted <code>/etc/hosts</code> file. <i>See</i> <a href=“https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/set_hostname_fqdn_on_ubuntu_centos.md”>Setting the Hostname & Fully Qualified Domain Name (FQDN) on Ubuntu 12.04 or CentOS 6.4</a>.

Hey Pablo, <br> <br>I went over the tutorial followed the steps there. Gmail now receive the emails straight to Inbox and not spam but outlook.com still doesnt show any emails. I have 2 outlook.com accounts to confirm just in case. <br> <br>cat /etc/hosts (mydomain myhost myip changed to defaults): <br> <br>127.0.0.1 localhost.localdomain localhost <br>127.0.1.1 myhost.mydomain.com myhost <br>123.456.78.90 myhost.mydomain.com myhost <br> <br># The following lines are desirable for IPv6 capable hosts <br>::1 ip6-localhost ip6-loopback <br>fe00::0 ip6-localnet <br>ff00::0 ip6-mcastprefix <br>ff02::1 ip6-allnodes <br>ff02::2 ip6-allrouters <br> <br> <br>hostname -f: <br> <br>myhost.mydomain.com. <br> <br> <br>Thanks!

hostname -f: <br> <br>myhost.mydomain.com <br> <br>No dot at the end.

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.