使用 qmail 的电子邮件别名

发布于 2024-07-11 11:32:30 字数 702 浏览 3 评论 0原文

我正在尝试在 qmail 中设置电子邮件域别名(我在 Plesk 服务器上)。 应该发生的情况是,发送到 user@myalias.com 的电子邮件将被发送到 user@realdomain.com(无论 user 是什么)。 我希望这种情况发生,而不必设置重定向和搞乱这类事情。

我已关注此论坛帖子<的详细信息/a> 取得的成功有限。 我只对 qmail 配置进行了更改,因为所有其他配置都已经存在并且正确,因为 myalias.com 域是通过 Plesk 设置的...

  1. 修改 /var/qmail/control/virtualdomains
  2. 添加 myalias.com:60 ("60"对应于同一文件中的 realdomain.com 的整数)
  3. 重新启动 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 ...

  1. modify /var/qmail/control/virtualdomains
  2. add myalias.com:60 ("60" corresponds to the integer of the realdomain.com that is in the same file)
  3. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

是伱的 2024-07-18 11:32:30

只是跟进我的这个旧问题。 现在一切都运转良好。 我让国家奥委会检查了服务器,他们帮我纠正了它。 与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.

尤怨 2024-07-18 11:32:30

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文