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

前端之家收集整理的这篇文章主要介绍了debian – postfix配置错误:“mail for(domain)循环回到自己”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚在我的debian系统上安装了postfix,所以我有一个默认配置,除了/etc/postfix/main.cf中的以下值:
myhostname = mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = myhostname,localhost.localdomain,localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailBox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
myorigin = mydomain.com
relay_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 not
be 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 can
delete 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并发布输出.

猜你在找的HTML相关文章