使用 qmail 的电子邮件别名
我正在尝试在 qmail 中设置电子邮件域别名(我在 Plesk 服务器上)。 应该发生的情况是,发送到 user@myalias.com 的电子邮件将被发送到 user@realdomain.com(无论 user 是什么)。 我希望这种情况发生,而不必设置重定向和搞乱这类事情。
我已关注此论坛帖子<的详细信息/a> 取得的成功有限。 我只对 qmail 配置进行了更改,因为所有其他配置都已经存在并且正确,因为 myalias.com 域是通过 Plesk 设置的...
- 修改 /var/qmail/control/virtualdomains
- 添加 myalias.com:60 ("60"对应于同一文件中的 realdomain.com 的整数)
- 重新启动 qmail 服务
日志显示 qmail 接受发往 @myalias.com 的传入电子邮件,然后将其路由至 @realdomain.com。 然后电子邮件就会丢失并且从未真正送达。
关于我可以在哪里/如何更深入地了解电子邮件发生了什么的任何想法?
谢谢。
I'm trying to set up email domain aliasing in qmail (I'm on a Plesk server). What should happen is that emails sent to user@myalias.com get sent to user@realdomain.com (regardless of what user is). I would like this to happen without having to set up redirects and mess around with that sort of thing.
I've followed the details on this forum post with limited success. I only made changes to the qmail config as all other config is already there and correct as the myalias.com domain is set up through Plesk ...
- modify /var/qmail/control/virtualdomains
- add myalias.com:60 ("60" corresponds to the integer of the realdomain.com that is in the same file)
- restart qmail service
Logs are showing that qmail accepts the incoming email to @myalias.com and then routes it to @realdomain.com. The email then goes missing and is never actually delivered.
Any thoughts on where/how I could dig deeper to figure out what's happening to the email?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只是跟进我的这个旧问题。 现在一切都运转良好。 我让国家奥委会检查了服务器,他们帮我纠正了它。 与remotehosts 文件有关。
Just following up on this older question of mine. It is all working well now. I had the NOC check the server and they corrected it for me. Had something to do with remotehosts file.
realdomain.com 的日志文件是否显示它正在接受或查看传入的重定向?
尝试将电子邮件重定向到另一个域。 如果它们最终到达另一个域,那么问题就出在您尝试将其真正发送到的域上。
如果它们根本没有出现在那里,那么就会回到它们的重定向方式,您可以专注于该部分。
Does the logfile of realdomain.com show that it is even accepting or seeing the incoming redirects?
Try redirecting the email to another domain. If they end up at the other domain, then the problem lies with the domain you're trying to really send it to.
If they don't appear there at all, then it goes back to how they're being redirected and you can focus on that part.