IntL-Daniel wrote:There is still bug in SMTP but different one... curretnly it uses field "From Address" in "helo" command and the reply from SMTP is then
[<-] 501 5.5.4 Invalid domain name
...because it expects some FQDN domain, not an "email" format. Previously you ignored this field and used name "localhost" and then the same as "Mail From:" command and that was a bug. So the solution is to use "helo" only and nothing else (or the Local Host Name field) and "Form Address" field use in "Mail From:" command only. Thanks for fix.
I too am having problems with email.
Worked fine in 1.5.17rc2 but is broken in 1.5.22.
Below is the error I get if I fill in the "From Address" and run the SMTP test from the Configuration page:
[<-] 220 <redacted mail server> ESMTP [c]
[->] EHLO <redacted my email account>
[<-] 501 5.0.0 Invalid domain nameSSL_connect: Success
ssmtp: Cannot open <redacted mail server>If I leave the "From Address" blank I get this error:
[<-] 220 ESMTP [c]
[->] EHLO localhost
[<-] 250 HELP
[->] STARTTLS
[<-] 220 2.0.0 Ready to start TLS
[->] EHLO localhost
[<-] 250 HELP
[->] AUTH LOGIN
[<-] 334
[->]
[<-] 334
[<-]
235 2.0.0 OK Authenticated[->] MAIL FROM:<admin@localhost>
[<-]
553 5.5.4 <admin@localhost>... Real domain name required for sender addressssmtp: 553 5.5.4 <admin@localhost>... Real domain name required for sender addressI have tried putting a bunch of different things in the "From Address" and the "Local Hostname" option boxes but so far have been unable to find anything that works.
Same behavior on 2 different model switches: WS-8-150-AC & WS-24-400A
If I downgrade back to 1.5.17rc2 it works again. (Have upgraded & downgraded several times to test. Also fully defaulted switch after one of the upgrades & manually reconfigured just to make sure config wasn't corrupted and it still didn't work.)
Hoping this can be looked into and addressed as SMTP notification is completely broken for me in 1.5.22
Another related issue: If you put the wrong
port into the SMTP settings and run the SMTP test, the switch GUI becomes completely unresponsive for a long time. After about 2min & 30sec you get the "Attempting to reestablish communication with the device ..." banner and then shortly after that it reconnects and you get a "SMTP Test Results" error that claims the test "Timed out after 60 seconds", even though in reality it took several minutes. And when I say the GUI becomes completely unresponsive, I mean completely to the degree that if you open a separate Private/Incognito browser and try to log into the switch it shows you the Login page but won't actually load anything until the test has completed.