I have a Raspberry Pi with Raspian installed on it and I am experiencing troubles sending out emails.
I have installed SSMTP and usually inside my scripts I'm sending out emails to notify me when a job is completed:

echo "$(date) Job completed" | mail -s "My subject" email@example.com

Everything was working fine until a couple of months ago, when I stopped receiving emails. I tried to manually launch the script and I receive this error:

send-mail: 550 Your authenticating ID must match your sending address.

I suspect there's something wrong in my SSMTP configuration, that at the beginning my email provider wasn't checking and now it's not working. Here you can find my ssmtp.conf file:

# Config file for sSMTP sendmail
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com

# Where will the mail seem to come from?

# The full hostname

# 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

I think there's something wrong, but I'm not a sysadmin and I don't have so much experience with mail services, any suggestions?


authenticating ID must match your sending address.

The server mysite.smtp.com: (or more specifically, the MTA its running) rejects your mail, because you authenticate as one user (myUser), but send a mail as another user.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.