debian – postfix配置错误:“mail for(domain)循环回到自己”

debian – postfix配置错误:“mail for(domain)循环回到自己”,第1张

概述我刚刚在我的debian系统上安装了postfix,所以我有一个默认配置,除了/etc/postfix/main.cf中的以下值: myhostname = mydomain.comalias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliasesmydestination = myhostname, localhost.loca 我刚刚在我的debian系统上安装了postfix,所以我有一个默认配置,除了/etc/postfix/main.cf中的以下值:
myhostname = mydomain.comalias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliasesmydestination = myhostname,localhost.localdomain,localhostrelayhost =mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128mailBox_size_limit = 0recipIEnt_delimiter = +inet_interfaces = allmyorigin = mydomain.comrelay_domains = mydomain.com

我发送到anything@mydomain.com的每封电子邮件都会在邮件服务器上反复告诉我:

This is the mail system at host mydomain.com.I'm sorry to have to inform you that your message Could notbe delivered to one or more recipIEnts. It's attached below.For further assistance,please send mail to postmaster.If you do so,please include this problem report. You candelete your own text from the attached returned message.                  The mail system<anything@mydomain.com>: mail for mydomain.com loops back to myself

我该如何解决这个问题?

解决方法 如果这就是你在main.cf中的内容,那么修复很容易.

你需要一个$.

mydestination = $myhostname,localhost

如果这不能解决问题,那么运行postconf -n并发布输出.

总结

以上是内存溢出为你收集整理的debian – postfix配置错误:“mail for(domain)循环回到自己”全部内容,希望文章能够帮你解决debian – postfix配置错误:“mail for(domain)循环回到自己”所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1095778.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存