Koozali.org: home of the SME Server

Mail sent to hotmail addresses fails, no ndr, nothing in the logs

Offline bosco555

  • ****
  • 152
  • +0/-0
Hi all,
Bit of a strange one...Mail sent to hotmail addresses does not reach the recipient/s, it just vanishes. No "NDRs", nothing in the logs. Funny thing is that hotmail email can be received OK and if you reply to that email/s, it is received by the hotmail recipient.
I checked and SPF/PTR/ are all good. Antispam blocklists are all clear.
This has got me stumped. And I searched, but as usual M$ has nothing of value.
This is an SME9.2 with all latest updates, user vacations and backup contribs only...

Thanks to all in advance
gb

Offline ReetP

  • *
  • 3,736
  • +5/-0
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #1 on: December 08, 2017, 09:46:46 AM »
Can you show log extracts from both mails? i.e the successful replied one and unsuccesful new ?

Is the mail actually received upstream?

My gut instinct is it's a M$ issue but better to check logically that this is the case :-)

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline bosco555

  • ****
  • 152
  • +0/-0
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #2 on: December 08, 2017, 11:32:48 AM »
HI there and thanks for the reply....I looked in those logs with anything to do with Hotmail, but found nothing.
I looked in reasons for failure and success, but nothing shows

OK so just to clear things:
When email is sent from SME to Hotmail, it just vanishes
When email is sent from Hotmail to SME it is received
When replied to above email from SME it is received at the Hotmail address..

I also think it is a M$ issue, as this is only happening with Hotmail addresses and all other free mail providers are fine...

Offline ReetP

  • *
  • 3,736
  • +5/-0
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #3 on: December 08, 2017, 12:30:57 PM »
HI there and thanks for the reply....I looked in those logs with anything to do with Hotmail, but found nothing.
I looked in reasons for failure and success, but nothing shows

First, have you checked the mail queues? Just wondering if it is sat in a queue somewhere on your server. qmHandle etc should help.

Quote
OK so just to clear things:
When email is sent from SME to Hotmail, it just vanishes
When email is sent from Hotmail to SME it is received
When replied to above email from SME it is received at the Hotmail address..

I also think it is a M$ issue, as this is only happening with Hotmail addresses and all other free mail providers are fine...

Oh what fun with M$ :-)

I think you may need to try something like manually testing the connection by telnetting to the mail server and sending a mail manually and see what happens. There are some examples here somewhere either in the forums or on the wiki I think. Someone with a greater mind than mine should be able to help you debug it a bit more.

This one is a tad ironic but tells you roughly what to do https://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx

I think you need to get your password base64 encoded somewhere:

Code: [Select]
perl -MMIME::Base64 -e 'print encode_base64("user");'
Code: [Select]
perl -MMIME::Base64 -e 'print encode_base64("password");'
Let us know what happens.....

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #4 on: December 08, 2017, 01:29:01 PM »
The email can't just vanish, at least, not on your side. It's either still in qmail queue (if outlooks.com's server responds with a deferal, if there's a temp DNS issue etc...), rejected, in which case you should be notified, or sent. If it's sent, it doesn't mean the email is in your recipient's mailbox, just that it's now up to outlook.com to do its job. /var/log/qmail/current will tell you in which situation you are.
C'est la fin du monde !!! :lol:

Offline bosco555

  • ****
  • 152
  • +0/-0
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #5 on: December 09, 2017, 01:44:08 AM »
Hi guys..

this is what I get from cat /var/log/qmail/current | grep hotmail

@400000005a28b6f03735c424 starting delivery 10367: msg 57411708 to remote djames@hotmail.com
@400000005a28b7621aa8e1ec info msg 57411708: bytes 10127 from <djames@hotmail.com> qp 29219 uid 453

Now.. there are a lot of these, the above is just one example.

thanks again
gb

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #6 on: December 09, 2017, 06:20:23 PM »
Don't use grep to look at qmail logs. For example here, check for the delivery 10367 to see how it ended.
C'est la fin du monde !!! :lol:

Offline bosco555

  • ****
  • 152
  • +0/-0
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #7 on: December 10, 2017, 05:51:33 AM »
Hi Daniel...this is what I get:

@400000005a28b6f03735c424 starting delivery 10367: msg 57411708 to remote djames@hotmail.com
@400000005a28b6f40357ef24 delivery 10367: success: 104.47.45.33_accepted_message ./Remote_host_said:_250_2.6.0_<000801d36f0c$61e22e60$25a68b20$@company_mail.net.au>_[InternalId=58914066439800,_Hostname=CO1NAM04HT030.eop-NAM04.prod.protection.outlook.com]_9566_bytes_in_0.255,_36.616_KB/sec_Queued_mail_for_delivery/

But there's nothing in djames's inbox/junkmail folder..
« Last Edit: December 10, 2017, 05:55:40 AM by bosco555 »

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Mail sent to hotmail addresses fails, no ndr, nothing in the logs
« Reply #8 on: December 10, 2017, 11:56:35 AM »
So your email has been correctly delivered. There's not a lot more you can do on your side. It's up to outlook's server to deliver it on the mailbox of the recipient.
C'est la fin du monde !!! :lol: