Notifier still does not work correctly when using own SMTP server w/ authentication


Let me first just quote the error message I got when I tried to send a test mail:

Sending of the testing message failed, your configuration is possibly wrong.
Error returned:

Failed to send: msmtp: recipient address <RECIPIENT>@<MYDOMAIN> not accepted by the server
msmtp: server message: 504 5.5.2 : Helo command rejected: need fully-qualified hostname
msmtp: could not send mail (account default from /tmp/user_notify_test/.locked/msmtp.cfg.5683)

I already “fixed” the notifier script several versions ago (I’ve just updated from 3.7.5 to 3.9.1), but I need to add those 2 lines again.

Could you please either fix the notifier script to include a valid HELO hostname, or use msmtp in a way it adheres /etc/msmtprc?

This is still an issue in 3.10. I’ve just upgraded and notifier ceased to work - I have to amend the script again.