FreePBX not sending voicemails to Office365...again.
-
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
Re: Voicemail to Microsoft 365 email
Well, the issue is back and I am guessing it has to do with Microsoft requiring TLS now and not allowing anonymous sending of emails.
I'd move everything to Teams if we could justify the cost.
Anyone that works with FreePBX have a solution?
FreePBX uses postfix and that does everything needed to talk directly to office 365. If your system is not working you don’t have something configured correctly. I’ll look at your previous thread in a bit.
Here is the screenshot:
-
I did notice that :587 was missing off the end of smtp.office365.com but I still get the following in the debug...
Aug 9 13:18:49 pbxhost postfix/pickup[18843]: 1389C3020FDF9: uid=995 from=<asterisk> Aug 9 13:18:49 pbxhost postfix/cleanup[19205]: 1389C3020FDF9: message-id=<[email protected]> Aug 9 13:18:49 pbxhost postfix/qmgr[18844]: 1389C3020FDF9: from=<[email protected]>, size=531, nrcpt=1 (queue active) Aug 9 13:18:54 pbxhost postfix/smtp[19207]: 1389C3020FDF9: host smtp.office365.com[52.96.191.210] said: 451 5.7.3 STARTTLS is required to send mail [CH0PR03CA0243.namprd03.prod.outlook.com] (in reply to MAIL FROM command) Aug 9 13:18:54 pbxhost postfix/smtp[19207]: 1389C3020FDF9: lost connection with smtp.office365.com[52.96.191.210] while sending RCPT TO Aug 9 13:18:59 pbxhost postfix/smtp[19207]: 1389C3020FDF9: to=<[email protected]>, relay=smtp.office365.com[52.96.79.162]:587, delay=10, delays=0.09/0.01/5.1/5, dsn=4.0.0, status=deferred (host smtp.office365.com[52.96.79.162] said: 451 5.7.3 STARTTLS is required to send mail [CH2PR14CA0053.namprd14.prod.outlook.com] (in reply to MAIL FROM command))
-
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
Re: Voicemail to Microsoft 365 email
Well, the issue is back and I am guessing it has to do with Microsoft requiring TLS now and not allowing anonymous sending of emails.
I'd move everything to Teams if we could justify the cost.
Anyone that works with FreePBX have a solution?
FreePBX uses postfix and that does everything needed to talk directly to office 365. If your system is not working you don’t have something configured correctly. I’ll look at your previous thread in a bit.
Here is the screenshot:
You have use TLS set to no.
-
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
Re: Voicemail to Microsoft 365 email
Well, the issue is back and I am guessing it has to do with Microsoft requiring TLS now and not allowing anonymous sending of emails.
I'd move everything to Teams if we could justify the cost.
Anyone that works with FreePBX have a solution?
FreePBX uses postfix and that does everything needed to talk directly to office 365. If your system is not working you don’t have something configured correctly. I’ll look at your previous thread in a bit.
Here is the screenshot:
You have use TLS set to no.
I made that change also, now there are no emails in the queue but nothing is showing up on the test emails I sent to myself. Here is the current debug log:
Aug 9 13:43:25 pbxhost postfix/pickup[21342]: 638CD30212B3B: uid=995 from=<asterisk> Aug 9 13:43:25 pbxhost postfix/cleanup[25551]: 638CD30212B3B: message-id=<[email protected]> Aug 9 13:43:25 pbxhost postfix/qmgr[21343]: 638CD30212B3B: from=<[email protected]>, size=531, nrcpt=1 (queue active) Aug 9 13:43:30 pbxhost postfix/smtp[25553]: 638CD30212B3B: to=<[email protected]>, relay=smtp.office365.com[52.96.79.194]:587, delay=5.2, delays=0.08/0.01/0.13/5, dsn=5.7.57, status=bounced (host smtp.office365.com[52.96.79.194] said: 530 5.7.57 Client not authenticated to send mail. [CH2PR20CA0019.namprd20.prod.outlook.com] (in reply to MAIL FROM command)) Aug 9 13:43:30 pbxhost postfix/smtp[25553]: 638CD30212B3B: lost connection with smtp.office365.com[52.96.79.194] while sending RCPT TO Aug 9 13:43:30 pbxhost postfix/cleanup[25551]: B23E230212B3C: message-id=<[email protected]> Aug 9 13:43:30 pbxhost postfix/bounce[25575]: 638CD30212B3B: sender non-delivery notification: B23E230212B3C Aug 9 13:43:30 pbxhost postfix/qmgr[21343]: B23E230212B3C: from=<>, size=2655, nrcpt=1 (queue active) Aug 9 13:43:30 pbxhost postfix/qmgr[21343]: 638CD30212B3B: removed Aug 9 13:43:30 pbxhost postfix/local[25576]: B23E230212B3C: to=<[email protected]>, relay=local, delay=0.07, delays=0.02/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox) Aug 9 13:43:30 pbxhost postfix/qmgr[21343]: B23E230212B3C: removed
-
@wls-itguy what are you using for authentication? I can't imagine you just have open relay allowed on your O365 account.
-
@dashrender said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy what are you using for authentication? I can't imagine you just have open relay allowed on your O365 account.
It is a standard option in O365. I use it all the time.
-
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@dashrender said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy what are you using for authentication? I can't imagine you just have open relay allowed on your O365 account.
It is a standard option in O365. I use it all the time.
That's how it was set up before. The only thing I saw that was different was the port 587 and the TLS. Those have been added, what am I still missing that emails are not getting to end users?
-
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@dashrender said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy what are you using for authentication? I can't imagine you just have open relay allowed on your O365 account.
It is a standard option in O365. I use it all the time.
That's how it was set up before. The only thing I saw that was different was the port 587 and the TLS. Those have been added, what am I still missing that emails are not getting to end users?
You are trying to send through an external SMTP host with NO authentication. Use the built in SMTP instead.
-
@scottalanmiller said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
@jaredbusch said in FreePBX not sending voicemails to Office365...again.:
@dashrender said in FreePBX not sending voicemails to Office365...again.:
@wls-itguy what are you using for authentication? I can't imagine you just have open relay allowed on your O365 account.
It is a standard option in O365. I use it all the time.
That's how it was set up before. The only thing I saw that was different was the port 587 and the TLS. Those have been added, what am I still missing that emails are not getting to end users?
You are trying to send through an external SMTP host with NO authentication. Use the built in SMTP instead.
yeah - JB just (&(^ me for the same comment - claiming he does it all the time - but what he meant was - that JB uses IP auth all the time.
Is the OP using IP auth in O365?
-
Go signup for a SMTP service already. What's your time worth?
https://mail.baby - It's $1/month + $0.20/Mouth for 1000 sends.
$20 will likely last you a whole year - if not more...
-
@voip_n00b said in FreePBX not sending voicemails to Office365...again.:
Go signup for a SMTP service already. What's your time worth?
https://mail.baby - It's $1/month + $0.20/Mouth for 1000 sends.
$20 will likely last you a whole year - if not more...
He already has two services. One built in and one with Office 365. A third one might have whatever the same issue is.
-
@wls-itguy said in FreePBX not sending voicemails to Office365...again.:
not allowing anonymous sending of emails.
Isn't your current setting set to anonymous?
-
One option:
Change it to come from an account with Exchange Online Plan 1 or better. Using their credentials (assuming an account without forced 2FA.
-
Option 2:
Use the built in and use a connector that is IP auth'd