Configuration file contains no email password
today i reinstalled my Freenas (9.10.1-U4) on another usb device.
i think for this bug report only the steps 1, 6 and 8 are relevant. But who knows....
1. stored the configuration file (in German: system/Allgemein/Speichern der Einstellungen) on my pc.
2. shutdown freenas
3. unplugged boot device
4. insert new usb device for installation purpose
5. installed freenas from cd (9.10.1-U4)
6. uploaded the configuration file (the one created in step 1: System/Allgemein/Hochladen der Einstellungen)
... booted ...
7. set up a mirror for the boot device and then i saw an error in the log:
Dec 15 18:15:36 nas1 alert.py: [common.system:294] Failed to send email: (535, '5.7.0 Authentication rejected / Connection-failure. Username or password incorrect. Please be aware, that the e-mail password is mandatory here. E-Mail-Adresse oder Passwort ungueltig! Bitte beachten Sie, dass hier das E-Mail-Passwort notwendig ist: www.t-online.de/email-passwort')
Traceback (most recent call last):
File "/usr/local/www/freenasUI/common/system.py", line 275, in send_mail
server = _get_smtp_server(timeout, local_hostname=local_hostname)
File "/usr/local/www/freenasUI/common/system.py", line 208, in _get_smtp_server
File "/usr/local/lib/python2.7/smtplib.py", line 622, in login
raise SMTPAuthenticationError(code, resp)
SMTPAuthenticationError: (535, '5.7.0 Authentication rejected / Connection-failure. Username or password incorrect. Please be aware, that the e-mail password is mandatory here. E-Mail-Adresse oder Passwort unguelt
Dec 15 18:15:36 nas1 alert.py: ig! Bitte beachten Sie, dass hier das E-Mail-Passwort notwendig ist: www.t-online.de/email-passwort') **
8. i checked the email configuration (System/E-Mail) Button "Send test mail" failed because of missing password. After entering the correct password all worked fine.
#5 Updated by William Grzybowski over 4 years ago
- Status changed from Unscreened to Screened
- Priority changed from No priority to Important
- Target version set to 9.10.3
That is by design. Configuration file itself does have encrypted passwords. The key for those password live in another location.
The issue here is that we do not provide a way to backup and import that key.