Question

Mails not received by hotmail and spammed by gmail

Posted September 12, 2014 10.7k views

Hello guys, After a lot of configuration in my ubuntu 14.4 my mail sent is not received in any hotmail, live or outlook account. In gmail it goes straight to the spam folder.

I tried testing it with mail-tester and it gives me a 9/10 and the only error is that there is no signing with dkim. I’ve turned on debug mode in amavisd and sent a new email to both gmail and hotmail and this is how the logs look like: ( removed real email addresses and hostname)

Sep 12 06:37:06 hostname postfix/pickup[6898]: F1AAF20A33: uid=33 from=no-reply@xxx.nl
Sep 12 06:37:07 hostname postfix/cleanup[7675]: F1AAF20A33: message-id=6db801ac1c294fef82e906de887e874c@www.xxx.nl
Sep 12 06:37:07 hostname postfix/qmgr[1742]: F1AAF20A33: from=no-reply@xxx.nl, size=116574, nrcpt=2 (queue active)
Sep 12 06:37:07 hostname postfix/pipe[7684]: F1AAF20A33: to=info@xxx.nl, relay=dovecot, delay=0.1, delays=0.04/0.01/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep 12 06:37:08 hostname postfix/smtp[7683]: F1AAF20A33: to=xxx@gmail.com, relay=gmail-smtp-in.l.google.com[74.125.136.26]:25, delay=1.2, delays=0.04/0.02/0.35/0.82, dsn=2.0.0, status=sent (250 2.0.0 OK 1410518228 ei9si2177318wid.26 - gsmtp)
Sep 12 06:37:08 hostname postfix/qmgr[1742]: F1AAF20A33: removed
Sep 12 06:44:04 hostname postfix/pickup[6898]: D470A20A33: uid=33 from=no-reply@xxx.nl
Sep 12 06:44:04 hostname postfix/cleanup[7726]: D470A20A33: message-id=b9675fd8a00d2818eec6def2bf718a3d@www.xxx.nl
Sep 12 06:44:04 hostname postfix/qmgr[1742]: D470A20A33: from=no-reply@xxx.nl, size=116546, nrcpt=2 (queue active)
Sep 12 06:44:04 hostname postfix/pipe[7735]: D470A20A33: to=info@xxx.nl, relay=dovecot, delay=0.11, delays=0.04/0.01/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep 12 06:44:07 hostname postfix/smtp[7734]: D470A20A33: to=xxx@live.nl, relay=mx2.hotmail.com[65.54.188.110]:25, delay=2.4, delays=0.04/0.02/1.3/1.1, dsn=2.0.0, status=sent (250 b9675fd8a00d2818eec6def2bf718a3d@www.xxx.nl Queued mail for delivery)
Sep 12 06:44:07 hostname postfix/qmgr[1742]: D470A20A33: removed

If there is someone who can fix this for me I would be really happy since I’m struggling a few days with this now.. I used the iredmail tutorial on this website to install the email server.

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.

×
2 answers

That happen to me when I setup my droplet, although I was using centos and cpanel. One of the problems I had was that my PTR records weren’t right and that’s why I was getting spam. I would start by checking that.

Submit an Answer