Hi all,
My goal was to send all mail for root to hotmail. So I modified the aliases file and ran newaliases.
Now my mail does get accepted by the hotmail MX (message queued for delivery) however it never goes to the hotmail mailbox (not in Junk/Spam, ... Nowhere).
After investigating a lot I found out for one address (user1@example.com) it works and gets delivered fine while for others (info@example.com, ...) it seems to fail. This might have to do with a filter at hotmail side which relates incoming mail to existing mail you have from that address (if I send from hotmail first to the info address and then reply it does get delivered). I verified with another target hotmail address as well and I see the same behavior.
I've tried a mailing list but the one responder only wanted to believe this is a DNS issue(which I in my humble opinion doubt as mail is delivered correctly in some cases and the mx accepts my mail).
I've tried different things trying to get my mails delivered:
- Verified MX record for example.com: mail.example.com
- Verified A record for mail.example.com: 1.2.3.4
- Verified PTR record for 1.2.3.4: mail.example.com
- Verified SPF record: has the correct IP
- Checked blacklists: not listed
- Subscribed to Hotmail SNDS and JMRP: to see if it's marked as junk and to see what I can improve, however no listings there.
- /etc/mail/local-host-names holds all the domains it's responsible for: example.com and mail.example.com
- checked "Sender score": ok
- Used mxtoolbox to check my mail config
- Used dnsstuff.com/tools to verify mail config
- Used mail-tester.com to verify mail config
I do get a 9/10 on mail-tester.com with following remarks:
Your message is not signed with DKIM
You do not have a DMARC record
There is no html version of your message.
Your message does not contain a List-Unsubscribe header
These don't seem very valid to me. Configuring DKIM and DMARC for just this one mail service that's behaving oddly?! Only a few messages are sent to hotmail each day. And none of these are for publicity but for contact with customers. Also the content does not have "call-to-action"s.
Now I'd like to know if any of the below might be wrong or suboptimal:
Is this nodename correct or should it be mail(reference: http://www.diablotin.com/librairie/networking/tcpip/ch10_07.htm)? What about the listed UUCP addresses? Does this matter? I've used NOUUCP in my config as I believe there's no need to have this. The canonical name looks correct to me.
This gives
Should hostname return the fqdn (configured in /etc/rc.conf)?
Running:
mail.example.com
Are there any other DNS related things I can test? Or can somebody assure me what I've tested DNS-wise is enough?
I could just forward my root mail to a non-hotmail mailbox. However my main concern here is that when users are using the squirrelmail their messages don't/might not get delivered (they mainly use their ISP SMTP though; squirrelmail is more of a fallback option).
Thanks a ton for your time reading and in advance for any useful replies.
My goal was to send all mail for root to hotmail. So I modified the aliases file and ran newaliases.
Now my mail does get accepted by the hotmail MX (message queued for delivery) however it never goes to the hotmail mailbox (not in Junk/Spam, ... Nowhere).
After investigating a lot I found out for one address (user1@example.com) it works and gets delivered fine while for others (info@example.com, ...) it seems to fail. This might have to do with a filter at hotmail side which relates incoming mail to existing mail you have from that address (if I send from hotmail first to the info address and then reply it does get delivered). I verified with another target hotmail address as well and I see the same behavior.
I've tried a mailing list but the one responder only wanted to believe this is a DNS issue(which I in my humble opinion doubt as mail is delivered correctly in some cases and the mx accepts my mail).
I've tried different things trying to get my mails delivered:
- Verified MX record for example.com: mail.example.com
- Verified A record for mail.example.com: 1.2.3.4
- Verified PTR record for 1.2.3.4: mail.example.com
- Verified SPF record: has the correct IP
- Checked blacklists: not listed
- Subscribed to Hotmail SNDS and JMRP: to see if it's marked as junk and to see what I can improve, however no listings there.
- /etc/mail/local-host-names holds all the domains it's responsible for: example.com and mail.example.com
- checked "Sender score": ok
- Used mxtoolbox to check my mail config
- Used dnsstuff.com/tools to verify mail config
- Used mail-tester.com to verify mail config
I do get a 9/10 on mail-tester.com with following remarks:
Your message is not signed with DKIM
You do not have a DMARC record
There is no html version of your message.
Your message does not contain a List-Unsubscribe header
These don't seem very valid to me. Configuring DKIM and DMARC for just this one mail service that's behaving oddly?! Only a few messages are sent to hotmail each day. And none of these are for publicity but for contact with customers. Also the content does not have "call-to-action"s.
Now I'd like to know if any of the below might be wrong or suboptimal:
Is this nodename correct or should it be mail(reference: http://www.diablotin.com/librairie/networking/tcpip/ch10_07.htm)? What about the listed UUCP addresses? Does this matter? I've used NOUUCP in my config as I believe there's no need to have this. The canonical name looks correct to me.
sendmail -bt -d0.4
This gives
Code:
[NOPARSE]
Canonical name: mail.example.com
UUCP nodename: mail.example.com
a.k.a.: mail.example.com
a.k.a.: [1.2.3.4]
a.k.a.: [IPv6:fe80:0:0:0:21a:4aff:aaaa:aaaa]
a.k.a.: [IPv6:2a02:2770:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa]
a.k.a.: example.cloud.otherdomain.com
a.k.a.: mail
a.k.a.: [IPv6:0:0:0:0:0:0:0:1]
a.k.a.: [IPv6:fe80:0:0:0:0:0:0:1]
a.k.a.: [127.0.0.1]
a.k.a.: localhost.localdomain
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = mail
(canonical domain name) $j = mail.example.com
(subdomain name) $m = example.com
(node name) $k = mail.example.com
========================================================[/NOPARSE]
Should hostname return the fqdn (configured in /etc/rc.conf)?
Running:
Code:
hostname
Code:
[root@mail /etc/mail]# sendmail -d61.10
sm_gethostbyname(mail.example.com, 28)... failure
failure
sm_gethostbyname(mail.example.com, 2)... mail
Recipient names must be specified
Are there any other DNS related things I can test? Or can somebody assure me what I've tested DNS-wise is enough?
I could just forward my root mail to a non-hotmail mailbox. However my main concern here is that when users are using the squirrelmail their messages don't/might not get delivered (they mainly use their ISP SMTP though; squirrelmail is more of a fallback option).
Thanks a ton for your time reading and in advance for any useful replies.