Bug #10325
openSystem/Advanced/Notifications/E-Mail - SMTP Notification E-Mail auth password Unexpected Bahaviour
0%
Description
Hi,
In System/Advanced/Notifications/E-Mail - SMTP Notification E-Mail auth password, if i wish to CHANGE the password i do the following.
Generate a NEW app password (this is a gsuite domain gmail account) and put it in the Notification E-Mail auth password section & confirm section.
I then select "Test SMTP Settings" and an email is successfully sent so i then go down to the "Save" button at the bottom of the page and click it.
However, if i then click on say the System Turnables tab and then come back to the Notification tab and select "Test SMTP Settings" once more i get an authentication error message due to old password still being in use.
Trying the new password and test again works.
I have found this is because clicking "Test SMTP Settings" refreshes the page to display the result banner and at that point must revert the passwords in the Notification E-Mail auth password section & confirm section to what they were.
There is a message under the "Test SMTP Settings" which states:-
"A test notification will be sent even if the service is marked as disabled. The last SAVED values will be used, not necessarily the values entered here."
But that isn't how it works either; as mentioned the problem is that clicking "Test SMTP Settings" seems to revert the password to the old one despite using the NEW one for the test when the screen refreshes and advises you of the test result.
Then as you are completely unaware and have (probably) had a valid test you click "Save" finally, but it then just saves the old password.
Updated by Manuel Piovan over 4 years ago
i think it's a duplicate of https://redmine.pfsense.org/issues/9684
and it is already been corrected with https://github.com/pfsense/pfsense/pull/4079
work ok on my 2.5.0 and 2.4.5rc
wait for 2.4.5 to be released
Updated by Mr B over 4 years ago
Ok, will wait for 2.4.5
That case sounds similar but im not 100% but if it works on yours as expected at those releases i'll hang off and test again at 2.4.5,
Thanks
Updated by Danilo Zrenjanin almost 4 years ago
Tested on:
2.4.5-RELEASE-p1 (amd64) built on Tue Jun 02 17:51:17 EDT 2020 FreeBSD 11.3-STABLE
I could replicate the issue.
If you write a new password and hit Test SMTP settings then the Save button, the password will be reverted to the wrong value.
If you write a new password, hit the Save button, then hit the Test SMTP settings button it will store the new password correctly.