-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save_config_enc.sh sends email as root #22
Comments
I think you could simply replace From: root by a valid email like "From: [email protected]". Else, most providers detect it as spam |
On my older FreeNAS 11.2-U8 systems, FreeNAS transmits root email using the account credentials I set up on System->Email So the mail I receive doesn't have 'root' as the sender -- it has the email account username instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, found that save_config_enc.sh sends as root which means email ends up in spam.
Deleted
From: root
on line 133 to below appears to have done the trick.printf '%s\n' "To: ${email} Subject: ${subject} Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=\"$mime_boundary\" --${mime_boundary} Content-Type: text/plain; charset=\"US-ASCII\" Content-Transfer-Encoding: 7bit Content-Disposition: inline ${savestatus} Server: ${freenashostname} Version: ${freenasversion} File: ${fnconfigdest} "
The text was updated successfully, but these errors were encountered: