You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 10:44:42