Forum Discussion

InnO's avatar
InnO
Icon for Nimbostratus rankNimbostratus
Dec 16, 2019

/bin/mail disappeared after upgrading to v14

Hi,

 

Just upgraded 2 VE from v12 to v13 then v14. I just realised and noticed the /bin/mail exec is not present anymore. Therefore my scripts based on it to send specific mail notifications do not work anymore.

 

Checked on a brand new vcmp v14, no /bin/mail either.

 

I may use sendmail instead but any advice here ?

 

Thanks,

Pascal.

2 Replies

    • InnO's avatar
      InnO
      Icon for Nimbostratus rankNimbostratus

      Thanks :). I read this article already, but the thing is that the example does not work for me. However, I found the correct command line (without me having to modify the ssmtp.conf) :

      echo "Subject: ssmtp test mail" | ssmtp me@mydomain.com

      The syntax is the same for sendmail by the way 🙂

      Thanks for your help,

      Pascal.