From d9267a275daeb2378996c52a1a454a07b89e8b33 Mon Sep 17 00:00:00 2001 From: Philip Guyton Date: Tue, 4 Jan 2022 17:23:49 +0000 Subject: [PATCH 1/2] Sender issues re notification emails #2339 Adds 3 additional entries to /etc/postfix/generic of the form: @hostname.dnsdomain sender @localhost sender @localhost.localdomain sender In order that the receiving email server is able to validate the from and sender against existing emails addresses. Avoiding the problematic from root@localhost. ## Includes: - Adding a trivial dnsdomainname wrapper - system/osi.py:getdnsdomain(). - Cosmetic text fix on form settings test. I.e. 'Submit' not 'Save'. --- .../static/storageadmin/js/templates/email/email.jst | 2 +- src/rockstor/storageadmin/views/email_client.py | 10 ++++++++-- src/rockstor/system/osi.py | 6 ++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/rockstor/storageadmin/static/storageadmin/js/templates/email/email.jst b/src/rockstor/storageadmin/static/storageadmin/js/templates/email/email.jst index 0cf7fa9a5..0da025505 100644 --- a/src/rockstor/storageadmin/static/storageadmin/js/templates/email/email.jst +++ b/src/rockstor/storageadmin/static/storageadmin/js/templates/email/email.jst @@ -100,7 +100,7 @@