Postfix+Dovecot+PostfixAdmin+MariaDB邮件服务器无法接收邮件问题求助
Postfix+Dovecot+PostfixAdmin+MariaDB邮件服务器无法接收邮件问题求助
大家好,我正在搭建基于Postfix+Dovecot+PostfixAdmin+MariaDB的邮件服务器,跟着不少教程和论坛帖子一步步操作,但现在碰到了无法接收邮件的问题,想请各位帮忙分析下原因。
我是这么测试的:用自己的外部Outlook邮箱,给服务器上设置的一个别名地址发邮件,结果对方提示发送失败,我查看服务器上的Postfix日志,看到了这段报错:
ubuntu postfix/local[10369]: C586F7E886: to=<my-email@mydomain>, orig_to=<my-alias@mydomain.com>, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "my-email")
我怀疑是不是Postfix没能正确从数据库里读取用户信息,于是做了个测试,用postmap查询别名对应的真实邮箱,结果是正常返回的:
root@ubuntu:~# postmap -q my-alias@mydomain.com mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf my-email@mydomain.com
目前我的Postfix主配置文件(main.cf)开头部分内容如下:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname....
有没有朋友遇到过类似的问题?或者能指导我接下来该排查哪些配置项?
备注:内容来源于stack exchange,提问作者Hoguss
相关产品推荐
相关产品推荐

