Postfix/LMTP 将用户名重写为数字 1

Postfix/LMTP 将用户名重写为数字 1

我的邮件服务器出现了一个令人沮丧的问题,我不知道该问题出在配置的哪个部分,请注意,postfix 和 dovecot 都配置为从 mysql 数据库获取配置。mysql 连接已通过两者测试,运行良好。每当我向任何用户发送电子邮件时,以下是 mail.log 中记录的内容:

postfix/lmtp[6157]: A093EB0056D: to=<[email protected]>, orig_to=<[email protected]>, relay=mail.domain.com[private/dovecot-lmtp], delay=0.43, delays=0.4/0/0.01/0.01, dsn=5.1.1, status=bounced (host mail.domain.com[private/dovecot-lmtp] said: 550 5.1.1 <[email protected]> User doesn't exist: [email protected] (in reply to RCPT TO command)

有任何想法吗 ?

多谢

艾哈迈德

答案1

正如 Alex 在他的评论中指出的那样,问题确实出在别名上。我的别名表是空的,奇怪的是它解析为数字“1”,所以我在 postfix main.cf 中禁用了别名映射 (sql),这样就解决了!

感谢亚历克斯!

相关内容