postfix-mta - 后缀 SMTP 550 5.7.60 SMTP
问题描述
我在带有后缀的 Ubuntu 20.04 上运行请求跟踪器 5,但我无法从 RT 发送电子邮件。当我发送测试电子邮件时,它可以工作。这是我的main.cf
文件
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_sasl_mechanism_filter = login
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
relayhost = mail.example.com:587
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
和我的日志/var/log/mail.log
Nov 16 00:11:46 rt5new postfix/smtp[11975]: warning: mail.example.com[x.x.x.x]:587 offered no supported AUTH mechanisms: 'GSSAPI NTLM'
Nov 16 00:11:46 rt5new postfix/smtp[11975]: 53793301166: to=<www-data@fcc.am>, relay=mail.example.com[x.x.x.x]:587, delay=31, delays=0/0/31/0.02, dsn=5.7.60, status=bounced (host mail.example.com[x.x.x.x]:587 said: 550 5.7.60 SMTP; Client does not have permissions to send as this sender (in reply to end of DATA command))
解决方案
推荐阅读
- c - 如何制作#define函数的for循环?
- visual-studio - Unity 项目,Visual Studio 2019 包含的文件在重新打开时消失
- mysql - 这个查询和子查询有什么问题?
- angular - 创建文件并上传到现有的 zip 文件 S3
- java - 如何指定 statsd 客户端端口?
- vb.net - 如何防止表单在 btnClose_Click 中关闭
- javascript - 如何使用来自另一个 js 类 n react-native 的键从 const 中获取值?
- html - 导航栏消失 - Angular 7
- webassembly - 学习 WebAssembly Uncaught (in promise) TypeError: m._init is not a function
- swift - 不支持的 IOSurface 格式:0x26424741 在场景包中使用 twilio 视频