Voicemail to email network unreachable


I’ve been trying to get email to work on my freepbx to no avail. I’ve followed the instruction on this link and disabled ipv6 without any positive results.

I’ve also pinged my server and it replies correctly.

Looking at the logs, I get this error message:

Aug 28 16:34:19 pbx postfix/smtp[9088]: connect to smtp.office365.com[2603:1036:b00:15::2]:587: Network is unreachable

Aug 28 16:34:19 pbx postfix/smtp[9088]: connect to smtp.office365.com[2603:1036:c00:14::2]:587: Network is unreachable

Aug 28 16:34:27 pbx postfix/smtp[9088]: D78CA7BD86: to=<[email protected]>, relay=smtp.office365.com[]:587, delay=7.4, delays=0.06/0/2.1/5.3, dsn=5.7.60, status=bounced (host smtp.office365.com$

Aug 28 16:34:27 pbx postfix/qmgr[9028]: D78CA7BD86: removed

Could someone how or what I am missing, it would be great!!!


I did a little more research. According tothis post, the FROM: field email address must match the login being used to get into Office365 SMTP server. Can someone confirm my findings? And if confirmed, how do we go about changing the FROM field from [email protected] to [email protected] since the word ‘asterisk’ seems to be fixed permanently.

Setting up O365 email is something I outlined in this post… please see my reply there for how to properly set up O365.

Thanks! I got past the authentication problem!! The next problem is that it’s telling me that I’m getting a ‘non-delivery notification’. Why is that?

Aug 29 13:08:22 pbx postfix/pickup[28988]: 55CCC76DD5: uid=995 from=<asterisk>

Aug 29 13:08:22 pbx postfix/cleanup[1474]: 55CCC76DD5: message-id=<[email protected]>

Aug 29 13:08:22 pbx postfix/qmgr[28987]: 55CCC76DD5: from=<[email protected]>, size=158299, nrcpt=1 (queue active)

Aug 29 13:08:29 pbx postfix/smtp[1483]: 55CCC76DD5: to=<[email protected]>, relay=smtp.office365.com[]:587, delay=7.1, delays=0.17/0.01/1.5/5.4, dsn=5.7.60, s$

Aug 29 13:08:29 pbx postfix/cleanup[1474]: 75242BC0F: message-id=<[email protected]>

Aug 29 13:08:29 pbx postfix/bounce[1529]: 55CCC76DD5: sender non-delivery notification: 75242BC0F

Aug 29 13:08:29 pbx postfix/qmgr[28987]: 75242BC0F: from=<>, size=2730, nrcpt=1 (queue active)

Aug 29 13:08:29 pbx postfix/qmgr[28987]: 55CCC76DD5: removed

Aug 29 13:08:29 pbx postfix/local[1530]: 75242BC0F: to=<[email protected]>, relay=local, delay=0.09, delays=0.04/0/0/0.05, dsn=2.0.0, status=sent (delivered to $

Aug 29 13:08:29 pbx postfix/qmgr[28987]: 75242BC0F: removed

What does the returned email say the rason was? It looks like it sent the non-delivery notification back to [email protected]

That email should have more information as to why it didn’t deliver.

Your reply is very helpful, Greg. Thanks to your reply, I did the following.

in the Origin field, I changed removed the subdomain from pbx.mybooks.solutions to mybooks.solutions. This change instantly allowed the email voicemail notification to go through.

On the other hand, the email notification is flagged by O365 as “possible Junk” and sent the message to the Junk folder. I tried to tell it that it’s not junk but it is not working. What should I do?

In O365, make sure that the pbx.mybooks.solutions is an accepted domain under Mail Flow

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.