You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for all the help on Discord on 2/15/23 as we worked through the config of the SMTP server and attempts to get TrueNAS Core E-Mail alerts to publish to Ntfy.
I was able to successfully setup the Ntfy SMTP server and publish an e-mail to it using the command line instructions provided in the configuration documents, to confirm that ports were configured correctly and that Ntfy would receive the message properly. Then, I went to my TrueNAS Core server and ran the same e-mail test from the command line and Ntfy received the e-mail properly. Using the same configuration as the command line, I went to the automatic settings within TrueNAS (System --> Email && System --> Alert Services) and setup my e-mail server to point to Ntfy, but would not receive a notification on Ntfy.
After turning on debugging in the logs, I found the following multi-part messages being received by Ntfy in the logs, but not showing up in my Ntfy app on the Android or Web app. Here is the relevant section of the log which shows the start of the incoming SMTP mail of the failed TrueNAS notification.
Feb 16 01:04:00 notification ntfy[661]: DEBUG truenas.local/192.168.5.202:40404 SMTP Incoming mail, anonymous login
Feb 16 01:04:00 notification ntfy[661]: DEBUG truenas.local/192.168.5.202:40404 SMTP MAIL FROM: test@mydomain.me (with options: smtp.MailOptions{Body:"", Size:1113, RequireTLS:false, UTF8:false, Auth:(*string)(nil)})
Feb 16 01:04:00 notification ntfy[661]: DEBUG truenas.local/192.168.5.202:40404 SMTP RCPT TO: test@mydomain.me
Feb 16 01:04:00 notification ntfy[661]: TRACE truenas.local/192.168.5.202:40404 SMTP DATA: Content-Type: multipart/mixed; boundary="===============2138658284696597373=="
Feb 16 01:04:00 notification ntfy[661]: MIME-Version: 1.0
Feb 16 01:04:00 notification ntfy[661]: Subject: TrueNAS truenas.local: TrueNAS Test Message hostname: truenas.local
Feb 16 01:04:00 notification ntfy[661]: From: =?utf-8?q?Robbie?= <test@mydomain.me>
Feb 16 01:04:00 notification ntfy[661]: To: test@mydomain.me
Feb 16 01:04:00 notification ntfy[661]: Date: Thu, 16 Feb 2023 01:04:00 -0000
Feb 16 01:04:00 notification ntfy[661]: Message-ID: <truenas-20230216.010400.344514.b'8jfL'@truenas.local>
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: This is a multi-part message in MIME format.
Feb 16 01:04:00 notification ntfy[661]: --===============2138658284696597373==
Feb 16 01:04:00 notification ntfy[661]: Content-Type: multipart/alternative; boundary="===============2233989480071754745=="
Feb 16 01:04:00 notification ntfy[661]: MIME-Version: 1.0
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: --===============2233989480071754745==
Feb 16 01:04:00 notification ntfy[661]: Content-Type: text/plain; charset="utf-8"
Feb 16 01:04:00 notification ntfy[661]: MIME-Version: 1.0
Feb 16 01:04:00 notification ntfy[661]: Content-Transfer-Encoding: base64
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: VGhpcyBpcyBhIHRlc3QgbWVzc2FnZSBmcm9tIFRydWVOQVMgQ09SRS4=
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: --===============2233989480071754745==
Feb 16 01:04:00 notification ntfy[661]: Content-Type: text/html; charset="utf-8"
Feb 16 01:04:00 notification ntfy[661]: MIME-Version: 1.0
Feb 16 01:04:00 notification ntfy[661]: Content-Transfer-Encoding: base64
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
Feb 16 01:04:00 notification ntfy[661]: L0VOIj4KClRoaXMgaXMgYSB0ZXN0IG1lc3NhZ2UgZnJvbSBUcnVlTkFTIENPUkUuCg==
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: --===============2233989480071754745==--
Feb 16 01:04:00 notification ntfy[661]:
Feb 16 01:04:00 notification ntfy[661]: --===============2138658284696597373==--
Feb 16 01:04:00 notification ntfy[661]: DEBUG truenas.local/192.168.5.202:40404 SMTP Incoming mail error: EOF
The text was updated successfully, but these errors were encountered:
Good Evening,
Thank you for all the help on Discord on 2/15/23 as we worked through the config of the SMTP server and attempts to get TrueNAS Core E-Mail alerts to publish to Ntfy.
I was able to successfully setup the Ntfy SMTP server and publish an e-mail to it using the command line instructions provided in the configuration documents, to confirm that ports were configured correctly and that Ntfy would receive the message properly. Then, I went to my TrueNAS Core server and ran the same e-mail test from the command line and Ntfy received the e-mail properly. Using the same configuration as the command line, I went to the automatic settings within TrueNAS (System --> Email && System --> Alert Services) and setup my e-mail server to point to Ntfy, but would not receive a notification on Ntfy.
After turning on debugging in the logs, I found the following multi-part messages being received by Ntfy in the logs, but not showing up in my Ntfy app on the Android or Web app. Here is the relevant section of the log which shows the start of the incoming SMTP mail of the failed TrueNAS notification.
The text was updated successfully, but these errors were encountered: