Background:
Just set up Bugzilla 5.0.4 on Ubuntu 14.04.5 LTS VM hosted inside Windows Server. SMTP email from Bugzilla is working using Gmail; I've sent new-account notifications successfully, and users have created new accounts.
My employer would prefer for new-account notifications (and Bugzilla email in general) to come from our company email addresses on Outlook/Office365. I have been unable to sent email using Office365 so far.
I've read various posts on this topic but none have led to a resolution.
Various parameters I've tried:
********** smtpserver **********
smtp.office365.com:587
smtp.office365.com:25
smtp.office365.com:483
[redacted]-
com.mail.protection.outlook.com:25
Using 587 and 25, I get:
There was an error sending mail from '[redacted]@[redacted]' to '[redacted]@[redacted]': unable to establish SMTP connection to
smtp.office365.com port 25
Using 483, I get:
The new value for smtpserver is invalid: Cannot connect to
smtp.office365.com using port 483.
Using the direct-send SMTP server, I get:
There was an error sending mail from '[redacted]@[redacted]' to '[redacted]@[redacted]': unable to establish SMTP connection to [redacted]-
com.mail.protection.outlook.com port 25
********** smtp_ssl **********
on
off
Using 'on', I get the error messages shown above.
Using 'off', I get:
There was an error sending mail from '[redacted]@[redacted]' to '[redacted]@[redacted]': failed AUTH: Command unknown: 'AUTH'
The mail_delivery_method drop-down does *not* have an SMTP-TLS option; it has Sendmail, SMTP, Test, None.
**********
checksetup.pl **********
checksetup.pl indicates that almost everything is ok/found with the exception of:
DBD-SQLite
DBD-Oracle
DBD-Pg
PatchReader
Email-Reply
Apache-SizeLimit
Cache-Memcached
File-Copy-Recursive
File-Which
mod_rewrite
In general, the output from
checksetup.pl looks fine, I don't see any glaring error messages or warnings.
********** access.log **********
Shows a normal GET request for /bugzilla/createaccount
********** error.log **********
Shows nothing.