I have set up Email on the web-gui with a ISP that hosts my domain and email, a typical authenticated smtp, port 587 with STARTTLS with a valid sender address. When I configured the Email on the web-gui the test mail worked perfectly, however the UPS(nut) emails are being blocked with smtp error 550 due to two headers that are added for email sent by UPS(nut). When UPS sends emails it calls the script "/usr/local/bin/custom-upssched-cmd EMAIL" that uses the "mail" program to send email.
The headers added are:
X-Mailer: FreeNAS
X-FreeNAS-Host: HOSTNAME.DOMAIN
Is there a way to avoid mail/sendmail from adding these two headers?
If not, then it might be a good idea to change email sending method to the same as used on the web-gui test email. That way if the test mail works, then all email notification work.
The headers added are:
X-Mailer: FreeNAS
X-FreeNAS-Host: HOSTNAME.DOMAIN
Is there a way to avoid mail/sendmail from adding these two headers?
If not, then it might be a good idea to change email sending method to the same as used on the web-gui test email. That way if the test mail works, then all email notification work.