SMTP credentials set unexpectedly
Posted: Thu Nov 19, 2015 3:42 am
Still unsure whether this has been reported before or not - because this bug is quite visible and I can verify it on 1.3.2 and 1.3.6 (no 1.3.7 used yet):
Unexpectedly, the UI keeps setting SMTP credentials when the SMTP Username and Password fields should actually be empty (because my mail server would not want them). It replaces empty settings with the logon credentials to the switch which are obviously invalid on my mail server. I'm still unsure whether there is a difference between 1.3.2 and 1.3.6 and it's actually not easy to give an easy recipe but one of the following should work to reproduce the bug:
Setup SMTP without Username and Password (at that point, in my case a TEST message would succeed). Be sure to have something else changed and click Save/Apply. Now log out and log in again. Right after logging in, in some cases (not sure when exactly) the Save/Apply button would already indicate a change (being white) and if you visit the SMTP settings you would see that there are credentials set. If you clear them at this point and click on another tab, the Save/Apply button would magically revert to the no-saving-needed grey state, i.e. the default credentials sneaked in right after logging in.
Sometimes though, right after logging in, the Save/Apply button would remain grey and if you visit the SMTP settings, they are actually empty. However, if you then change some other setting and save (without visiting the SMTP credentials), the credentials would again default to the switch login credentials after clicking Save/Apply - only that this will be visible after the next log in only. I'm not sure if that happens always but it happened many times on me.
This is not a big one, but it's a nasty one, because it keeps invalidating my SMTP setup if I need to change something else and forget to check the SMTP settings before saving and then logging out and in again, to be sure it is the way I want.
Unexpectedly, the UI keeps setting SMTP credentials when the SMTP Username and Password fields should actually be empty (because my mail server would not want them). It replaces empty settings with the logon credentials to the switch which are obviously invalid on my mail server. I'm still unsure whether there is a difference between 1.3.2 and 1.3.6 and it's actually not easy to give an easy recipe but one of the following should work to reproduce the bug:
Setup SMTP without Username and Password (at that point, in my case a TEST message would succeed). Be sure to have something else changed and click Save/Apply. Now log out and log in again. Right after logging in, in some cases (not sure when exactly) the Save/Apply button would already indicate a change (being white) and if you visit the SMTP settings you would see that there are credentials set. If you clear them at this point and click on another tab, the Save/Apply button would magically revert to the no-saving-needed grey state, i.e. the default credentials sneaked in right after logging in.
Sometimes though, right after logging in, the Save/Apply button would remain grey and if you visit the SMTP settings, they are actually empty. However, if you then change some other setting and save (without visiting the SMTP credentials), the credentials would again default to the switch login credentials after clicking Save/Apply - only that this will be visible after the next log in only. I'm not sure if that happens always but it happened many times on me.
This is not a big one, but it's a nasty one, because it keeps invalidating my SMTP setup if I need to change something else and forget to check the SMTP settings before saving and then logging out and in again, to be sure it is the way I want.