Notifications via 365?



  • I cannot seem to get 365 notifications working. Tried using smtp.office365.com on 587 TLS on, to no avail. Anyone know how to get this to work?
    Thanks



  • Works for me like this:

    0_1551813932025_pfSense-Notifications.png



  • Which field have you got your account ID in? the last one I assume?



  • Account ID?? Do you mean a valid email account? If so then yes. The Notification E-Mail auth username (optional) parameter is the sending account. It has to be a valid account, not an alias.



  • Yes, the one that authenticates you as a sender. Thanks



  • Well that didn't go well!
    "Could not send the message to nick@orangehand.com -- Error: Failed to send data [SMTP: Invalid response code received from server (code: 554, response: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:7C0D0000, 17.43559:0000000094000000000000000000000000000000, 20.52176:140F8186140010100300170E, 20.50032:140F8186841710100A001481, 0.35180:E7020000, 255.23226:0A008440, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 16.55847:C6000000, 17.43559:0000000070010000000000000100000000000000, 20.52176:140F81861400101003000136, 20.50032:140F8186841710100A00DA36, 0.35180:44000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:0A003A66, 4.21921:DC040000, 255.27962:FA000000, 255.1494:64000000, 0.38698:77090000, 0.37692:0F010480, 0.37948:0F010480, 5.33852:00000000534D545000040480, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:D73E11F97672004E85AC0977E4EE31D742003844, 5.10786:0000000031352E32302E313636352E3032303A444237503139314D42303434343A66626339316437332D623531312D343338322D383730372D37323331393931323865313100502000000000, 255.1750:A0000000, 255.31418:0A005636, 0.22753:A5000000, 255.21817:DC040000, 4.60547:DC040000, 0.21966:03003866, 4.30158:DC040000 [Hostname=DB7P191MB0444.EURP191.PROD.OUTLOOK.COM])]"



  • It won't let me edit that post to remove my email address. Hey ho!!



  • Well, this definitely works for me. SMTP response code 554 is 'Transaction failed'. How helpful. Perhaps take a look on the office365 side. It looks like that user isn't allowed to send on that server maybe? Also, make sure that the From field also contains a valid email address that office365 is aware of.



  • @kom That was it; many thanks



  • What was it, specifically? The return address? Or the user permission to send?



  • 1st & 3rd fields are my email address, so From: and Notification:


Log in to reply