Just done another test voicemail as i couldn’t see anything in the logs. I think this is telling us whats going on.
>
> Mar 20 18:35:14 pbx postfix/pickup[12845]: 5911780B1CC9: uid=995 from=<asterisk>
> Mar 20 18:35:14 pbx postfix/cleanup[16931]: 5911780B1CC9: message-id=<[email protected]>
> Mar 20 18:35:14 pbx postfix/qmgr[12846]: 5911780B1CC9: from=<[email protected]>, size=121993, nrcpt=1 (queue active)
> Mar 20 18:35:14 pbx postfix/smtp[16934]: connect to smtp.office365.com[2603:1026:c06:23::2]:587: Network is unreachable
> Mar 20 18:35:14 pbx postfix/smtp[16934]: connect to smtp.office365.com[2603:1026:c06:29::2]:587: Network is unreachable
> Mar 20 18:35:14 pbx postfix/smtp[16934]: 5911780B1CC9: to=<[email protected]>, relay=smtp.office365.com[40.100.174.2]:587, delay=0.61, delays=0.02/0.01/0.27/0.32, dsn=5.2.0, status=bounced (host smtp.office365.com[40.100.174.2] said: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:7D030000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:71270000, 1.36674:0E000000, 1.61250:00000000, 1.45378:76270000, 1.44866:54020000, 16.55847:02120000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140F138B1000F01F00000000, 20.50032:140F138B8017F01F0A00E480, 0.35180:140F138B, 255.23226:0A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:D8050000, 0.35250:0A00EA35, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:4C000000, 1.36674:32000000, 1.61250:00000000, 1.45378:51000000, 1.44866:01000000, 16.55847:B8000000, 17.43559:0000000080030000000000000100000000000000, 20.52176:140F138B1000101053000000, 20.50032:140F138B80170000674A0000, 0.35180:58000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:714A0000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:764A0000, 0.38698:00000000, 0.37692:01000000, 0.37948:20000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010920000100, 4.56248:DC040000, 7.40748:010000000000010B3A336133, 7.57132:00000000000000003937362D, 1.63016:32000000, 4.39640:DC040000, 8.45434:B33B4635D00A4149A8A780A3B720F95B3937362D, 5.10786:0000000031352E32302E323833352E3031363A4C4F59503132334D42333138343A33613330336431342D303439332D343937362D626138352D31653966333532396633313700201000000000, 7.51330:4ECE7B6EFDCCD70818000000, 0.39570:00000000, 1.55954:0A000000, 0.48754:02000000, 0.40818:00000000, 0.56946:80000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:00000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:34450000, 255.314
> Mar 20 18:35:14 pbx postfix/cleanup[16931]: EF36380B1CCF: message-id=<[email protected]>
> Mar 20 18:35:14 pbx postfix/bounce[16945]: 5911780B1CC9: sender non-delivery notification: EF36380B1CCF
> Mar 20 18:35:14 pbx postfix/qmgr[12846]: EF36380B1CCF: from=<>, size=7022, nrcpt=1 (queue active)
> Mar 20 18:35:14 pbx postfix/qmgr[12846]: 5911780B1CC9: removed