I am trying to configure ssmtp to use the namecheap smtp server to send emails. My current configuration:
email@example.com mailhub=mail.privateemail.com:465 rewriteDomain=email.com hostname=email.com AuthUserfirstname.lastname@example.org AuthPass=password FromLineOverride=YES UseTLS=NO UseSTARTTLS=YES
Trying to send a test email using
cat - | sudo /usr/sbin/ssmtp -vvvv email@example.com results in the following output in my syslog:
Jun 17 13:55:08 hostname sSMTP: Creating SSL connection to host Jun 17 13:55:18 hostname sSMTP: Invalid response SMTP Server (STARTTLS) Jun 17 13:55:18 hostname sSMTP: Cannot open mail.privateemail.com:465
So far, no configuration change has had any impact. I find mostly solutions for gmail, which do not work for Namecheap it seems. The Namecheap documentation does not mention any special settings one needs to apply.
I tried setting it up with gmail and it worked flawlessly. I guess this means that my settings for the NameCheap SMTP are wrong?