首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SSMTP返回错误550

SSMTP返回错误550
EN

Unix & Linux用户
提问于 2014-09-24 06:18:12
回答 1查看 2.1K关注 0票数 0

我有一个Raspberry Pi与拉斯宾安装在上面,我正经历困难,发送电子邮件。

我已经安装了SSMTP,通常在脚本中发送电子邮件,以便在工作完成时通知我:

代码语言:javascript
复制
echo "$(date) Job completed" | mail -s "My subject" email@example.com

直到几个月前,当我停止接收电子邮件时,一切都很顺利。我试图手动启动脚本,并收到以下错误:

代码语言:javascript
复制
send-mail: 550 Your authenticating ID must match your sending address.

我怀疑我的SSMTP配置有问题,一开始我的电子邮件提供商没有检查,现在它不起作用了。在这里您可以找到我的ssmtp.conf文件:

代码语言:javascript
复制
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
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=mail

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
hostname=raspberrypi

# 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
AuthUser=myUser
AuthPass=myPassword
mailhub=mysite.smtp.com:587
UseSTARTTLS=YES

我想出了点问题,但我不是一个系统管理员,我对邮件服务没有太多的经验,有什么建议吗?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2014-09-24 10:11:57

authenticating ID must match your sending address.

服务器mysite.smtp.com:(或者更确切地说,它正在运行的MTA )拒绝您的邮件,因为您作为一个用户(myUser)进行身份验证,但以另一个用户的身份发送邮件。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/157189

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档