OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Notifications with Office365 do not work
« previous next »
  • Print
Pages: [1]

Author Topic: Notifications with Office365 do not work  (Read 3498 times)

Mks

  • Sr. Member
  • ****
  • Posts: 260
  • Karma: 19
    • View Profile
Notifications with Office365 do not work
« on: March 25, 2018, 09:31:39 am »
Hi.

I cannot send notification mails with Office365.

I've tried several options

SMTP over SSL/TLS
opnsense: /system_advanced_notifications.php: Could not send the message to XXXX@XXXX.XX -- Error: could not connect to the host "smtp.office365.com": ??

StartTLS
opnsense: /system_advanced_notifications.php: Could not send the message to XXXX@XXXX.XX -- Error: 504 5.7.4 Unrecognized authentication type [DB6PR0XXXXXXXX.XXXXX.prod.outlook.com]

If found this threas https://forum.pfsense.org/index.php?topic=72015.0 which describes it in more detail but is from 2014.

Anyone solved it without changing manually some congfig lines with possible side effects?

br
Manuel

Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: Notifications with Office365 do not work
« Reply #1 on: March 25, 2018, 11:35:21 am »
Yes, solved it by using Monit. Takes a bit of setting up, but there are guides around for doing so.

Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

phoenix

  • Hero Member
  • *****
  • Posts: 506
  • Karma: 55
    • View Profile
Re: Notifications with Office365 do not work
« Reply #2 on: March 25, 2018, 01:30:40 pm »
Quote from: Mks on March 25, 2018, 09:31:39 am
Hi.

I cannot send notification mails with Office365.
Do you mean you're sending an email to office365 or sending an email via that service (relaying) to another account? Have you used port 25 or 587? I can't imagine why it wouldn't accept it and I have no problems connecting vis STARTTLS on my own mail server using port 25 or 587.
Logged
Regards


Bill

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: Notifications with Office365 do not work
« Reply #3 on: March 25, 2018, 03:39:44 pm »
Doesn't work for me either, using my office365  account or my Kerio mail server. Actually that's not true, I can get it to work on Kerio but I have to turn on plain authentication.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Notifications with Office365 do not work
« Reply #4 on: March 25, 2018, 07:25:35 pm »
Quote from: marjohn56 on March 25, 2018, 03:39:44 pm
Doesn't work for me either, using my office365  account or my Kerio mail server. Actually that's not true, I can get it to work on Kerio but I have to turn on plain authentication.
Plain authentication is the way to go when using a TLS encrypted connection...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Notifications with Office365 do not work
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2