Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/email_client.py", line 287, in post
update_sasl(smtp_server, port, username, password)
File "/opt/rockstor/src/rockstor/storageadmin/views/email_client.py", line 181, in update_sasl
os.chmod("{}.db".format(sasl_file), stat.S_IRUSR | stat.S_IWUSR)
OSError: [Errno 2] No such file or directory: '/etc/postfix/sasl_passwd.db'
@g6094199, I see the same thing when trying to set up the email alert (which I assume you were trying to do), and hitting the save button, which then gets me the same message:
I had it set up under the CentOS version of Rockstor, but did not bother to update it when I moved to 4.x
And also to confirm, the file doesn’t exist. I read somewhere that it might be related to directory permissions (meaning it needs to be owned by the postfix user).
Just a very brief response to this as I unfortunately do not have the time for more details at the moment:
This is a bug recently identified by another forum user and that @phillxnet recently fixed. It has actually been merged just a couple of days ago so it will be included in the next Rockstor release .
Sorry for the too short answer (for the moment), and thanks a lot for the report!