Skip to content

save_config_enc.sh sends email as root #22

@CV8R

Description

@CV8R

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} "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions