David Dyer-Bennet
Patron
- Joined
- Jul 13, 2013
- Messages
- 286
Finally getting back to chasing the email problem I talked about back in https://www.truenas.com/community/t...lure-to-send-email-notifications-leave.97703/
Got the TrueNAS software up to TrueNAS-13.0-U2. I have the root user email set to "dd-b@example.com" (okay, not example.com, my real email address).
Email is configured to use the SMTP method, using the same smtp server, username, and password that works in my Thunderbird setup.
When I click "SEND TEST EMAIL" on that page it says it succeeded, and the messages in /var/log/maillog look reasonable. Furthermore, if I change the SMTP server name to something invalid, when I run a test I get a popup saying the test failed. The lack of error popup when I have the right server name in there seems hopeful.
The smtp server configured is at dreamhost. I've got the right username (the full email address, not just the user part). If I change the user name to something wrong, I get errors again, which I don't when the username is right. So I think it actually is right.
So....except for the actual email content, this should look externally (to the Dreamhost smtp server) exactly like me sending email from my Windows or Linux desktops via Thunderbird (or my cell phone via K9 mail, for that matter, when I'm on my home WIFI). And those all worked, have for decades, but this does not.
[this paragraph edited] Ah, tcpdump is present by default, so I don't have to worry about adding software. So I'm now working on capturing the actual server interaction when the test message is sent, maybe I'll learn something interesting, eh?
I've seen several people say that email sending is generally flaky in TrueNAS. Is that still true?
And...are other people successfully sending email through specifically the smtp.dreamhost.com server?
Working up towards checking to see if anybody has already submitted a Jira ticket, and doing one myself, if I can get all the ducks in the row to convince myself (pretending I'm a maintainer looking at the ticket
) that there's something there.
Got the TrueNAS software up to TrueNAS-13.0-U2. I have the root user email set to "dd-b@example.com" (okay, not example.com, my real email address).
Email is configured to use the SMTP method, using the same smtp server, username, and password that works in my Thunderbird setup.
When I click "SEND TEST EMAIL" on that page it says it succeeded, and the messages in /var/log/maillog look reasonable. Furthermore, if I change the SMTP server name to something invalid, when I run a test I get a popup saying the test failed. The lack of error popup when I have the right server name in there seems hopeful.
The smtp server configured is at dreamhost. I've got the right username (the full email address, not just the user part). If I change the user name to something wrong, I get errors again, which I don't when the username is right. So I think it actually is right.
So....except for the actual email content, this should look externally (to the Dreamhost smtp server) exactly like me sending email from my Windows or Linux desktops via Thunderbird (or my cell phone via K9 mail, for that matter, when I'm on my home WIFI). And those all worked, have for decades, but this does not.
[this paragraph edited] Ah, tcpdump is present by default, so I don't have to worry about adding software. So I'm now working on capturing the actual server interaction when the test message is sent, maybe I'll learn something interesting, eh?
I've seen several people say that email sending is generally flaky in TrueNAS. Is that still true?
And...are other people successfully sending email through specifically the smtp.dreamhost.com server?
Working up towards checking to see if anybody has already submitted a Jira ticket, and doing one myself, if I can get all the ducks in the row to convince myself (pretending I'm a maintainer looking at the ticket