Mails not received by hotmail and spammed by gmail
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: F1AAF20A33: uid=33 firstname.lastname@example.org
Sep 12 06:37:07 hostname postfix/cleanup: F1AAF20A33: email@example.com
Sep 12 06:37:07 hostname postfix/qmgr: F1AAF20A33: firstname.lastname@example.org, size=116574, nrcpt=2 (queue active)
Sep 12 06:37:07 hostname postfix/pipe: F1AAF20A33: email@example.com, 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: F1AAF20A33: firstname.lastname@example.org, relay=gmail-smtp-in.l.google.com[188.8.131.52]: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: F1AAF20A33: removed
Sep 12 06:44:04 hostname postfix/pickup: D470A20A33: uid=33 email@example.com
Sep 12 06:44:04 hostname postfix/cleanup: D470A20A33: firstname.lastname@example.org
Sep 12 06:44:04 hostname postfix/qmgr: D470A20A33: email@example.com, size=116546, nrcpt=2 (queue active)
Sep 12 06:44:04 hostname postfix/pipe: D470A20A33: firstname.lastname@example.org, 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: D470A20A33: email@example.com, relay=mx2.hotmail.com[184.108.40.206]:25, delay=2.4, delays=0.04/0.02/1.3/1.1, dsn=2.0.0, status=sent (250 firstname.lastname@example.org Queued mail for delivery)
Sep 12 06:44:07 hostname postfix/qmgr: 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.