***FIXED***
removed all mail installs
then added Postfix, set to relay to an internal machine that can send to gmail. then installed mailutils
***end***
Back with a SMARTd (smartmontools) email challenge. Email works from command link but not from samrtd.conf. I get the following error:
Originally followed https://linuxconfig.org/how-to-configure-smartd-and-be-notified-of-hard-disk-problems-via-email
I have now tried msmtp, s-nail and mailx.
Any tips are gratefully received. My feeling is that it is a bug!
removed all mail installs
apt remove msmtp-mta apt remove mailutils apt remove s-nail apt remove msmtp-mta apt remove msmtp
then added Postfix, set to relay to an internal machine that can send to gmail. then installed mailutils
***end***
Back with a SMARTd (smartmontools) email challenge. Email works from command link but not from samrtd.conf. I get the following error:
[....] Restarting S.M.A.R.T. daemon: smartd 2021 Jun 17 10:41:31 iomega Test of <mail> to [removed]@gmail.com produced unexpected output (29 bytes) to STDOUT/STDERR: 2021 Jun 17 10:41:31 iomega msmtp: invalid option -- 's' 2021 Jun 17 10:41:31 iomega Test of <mail> to [removed]@gmail.com: failed (32-bit/8-bit exit status: 16384/64)
Originally followed https://linuxconfig.org/how-to-configure-smartd-and-be-notified-of-hard-disk-problems-via-email
I have now tried msmtp, s-nail and mailx.
Any tips are gratefully received. My feeling is that it is a bug!