Continuing the discussion from Postfix & Office 365 :
Continuing the discussion from Postfix & Office 365 :
I’m having issues sending voicemail alerts with Postfix. However all other email alerts are working via Postfix and office 365. For example in the “voicemail user portal” I can click on a specific VM then select an email address and click “email_to” button and the email sends thru no problem. However when I can another user and leave a voicemail the message gets bounced. Both relayed emails are from the same “from” address. See mail logs below:
WORKING EXAMPLE FROM USER PORTAL: (I replaced the domain name)
Aug 21 16:20:37 copier postfix/pickup[1773]: 31C3C2220EC: uid=499 from=<asterisk>
Aug 21 16:20:37 copier postfix/cleanup[2953]: 31C3C2220EC: message-id=<[email protected] >
Aug 21 16:20:37 copier postfix/qmgr[1774]: 31C3C2220EC: from=<[email protected] >, size=116223, nrcpt=1 (queue active)
Aug 21 16:20:37 copier postfix/smtp[2955]: warning: smtp.office365.com [157.56.233.66]:587 offered null AUTH mechanism list
Aug 21 16:21:02 copier postfix/smtp[2955]: 31C3C2220EC: to=<[email protected] >, relay=smtp.office365.com [157.56.233.66]:587, delay=26, delays=0.01/0/24/1.7, dsn=2.6.0, status=sent (250 2.6.0 <[email protected] > [InternalId=17733919967590] Queued mail for delivery)
Aug 21 16:21:02 copier postfix/qmgr[1774]: 31C3C2220EC: removed
NON WORKING EXAMPLE AFTER CALL & VM:
Aug 21 16:23:48 copier postfix/qmgr[1774]: EB33E2220EE: from=<[email protected] >, size=265734, nrcpt=1 (queue active)
Aug 21 16:23:49 copier postfix/smtp[3238]: warning: smtp.office365.com [132.245.1.114]:587 offered null AUTH mechanism list
Aug 21 16:23:59 copier postfix/smtp[3238]: EB33E2220EE: to=<[email protected] >, relay=smtp.office365.com [132.245.1.114]:587, delay=11, delays=0.03/0/5.4/5.5, dsn=5.7.1, status=bounced (host smtp.office365.com [132.245.1.114] said: 550 5.7.1 Client does not have permissions to send as this sender (in reply to end of DATA command))
Aug 21 16:23:59 copier postfix/cleanup[3235]: E5F862220EF: message-id=<[email protected] >
Aug 21 16:23:59 copier postfix/bounce[3247]: EB33E2220EE: sender non-delivery notification: E5F862220EF
Aug 21 16:23:59 copier postfix/qmgr[1774]: E5F862220EF: from=<>, size=2573, nrcpt=1 (queue active)
Aug 21 16:23:59 copier postfix/qmgr[1774]: EB33E2220EE: removed
Aug 21 16:24:00 copier postfix/smtp[3238]: warning: smtp.office365.com [132.245.1.121]:587 offered null AUTH mechanism list
Aug 21 16:24:07 copier postfix/smtp[3238]: E5F862220EF: to=<[email protected] >, relay=smtp.office365.com [132.245.1.121]:587, delay=7.5, delays=0/0/2.3/5.2, dsn=5.7.1, status=bounced (host smtp.office365.com [132.245.1.121] said: 550 5.7.1 Client does not have permissions to send as this sender (in reply to end of DATA command))
Aug 21 16:24:07 copier postfix/qmgr[1774]: E5F862220EF: removed
Jonathanp1,
Did you ever get this resolved? I have the same issue after migrating to O365 over the weekend. None of the voicemail to emails are working, getting exact same issue as you.
jfinstrom
(James Finstrom)
November 6, 2014, 6:34pm
3
A Quick google says you must have postfix 2.9+ (http://serverfault.com/questions/516841/how-to-configure-postfix-on-ubuntu-to-relay-emails-through-office-365-smtp-wit )
You can see what version you have with:
postconf -d | grep mail_version