Raspian 10 and ssmtp

After installing ASL-2 Beta, I can no longer send mail using ssmtp. I see this is Raspien 10 linux. Can anyone help, I cannot find a solution.

Can you provide any logs or more information? Are you getting errors?

Cheers,
Rob

I cleared the mail.err and mail.log, then tried to send. Here’s what I get. During the send, I get this odd ’ ssmtp: (lengriff}’ message. I am using the exact same ssmtp setup that works fine using the old ’ jessie ’ version, that’s why I do not understand.

Sending mail:

root@repeater:~# ssmtp lengriff@optimum.net
this is a test
ssmtp: (lengriff)
root@repeater:~#

Mail Log:
Mar 3 08:45:55 repeater sSMTP[1025]: Creating SSL connection to host
Mar 3 08:45:56 repeater sSMTP[1025]: SSL connection using ECDHE_RSA_AES_256_GCM_SHA384
Mar 3 08:45:56 repeater sSMTP[1025]: (lengriff)

Mail err:

Mar 3 08:45:56 repeater sSMTP[1025]: (lengriff)

SSMTP.conf:

Config file for sSMTP sendmail

The person who gets all mail for userids < 1000

Make this empty to disable rewriting.

#root=lengriff@gmail.com
root=postmaster

The place where the mail goes. The actual machine name is required no

MX records are consulted. Commonly mailhosts are named mail.domain.com

mailhub:587=smtp.gmail.com

Where will the mail seem to come from?

#rewriteDomain=

The full hostname

hostname=lengriff

Are users allowed to set their own From: address?

YES - Allow the user to specify their own From: address

NO - Use the system generated From: address

#FromLineOverride=YES

#receivers e-mail
AuthUser=lengriff@gmail.com
AuthPass=xxxxxxx
FromLineOverride=YES
UseSTARTTLS=YES

It is a known issue that ssmtp doesn’t work under Raspian Buster, usual solution is to use msmtp instead. Google for details and msmtp setup instructions.

Looks to be the case! Thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.