Zimbra 和 Postfix:配置包罗万象的邮箱/域

Mei*_*Mei 1 email postfix zimbra

我对 Postfix 并不陌生,但对 Zimbra 很陌生。我已经看到了有关更改 Postfix 参数的答案,以及有关如何在 Postfix 中配置包罗万象的域的文章。

我需要了解的是如何在 Zimbra (7.1.1) 中进行 Postfix 配置。我检查了 Zimbra 管理页面,没有看到任何允许虚拟域的内容(邮件至 *@some.domain.example)。前面提到的“答案”列出了一系列我目前还不理解的 Zimbra 命令。

我如何将这些放在一起?哪里是了解 Zimbra 可用的 shell 命令的最佳位置?

PS:这些都是很好的答案,看起来它们会满足我的需要。然而,我应该提到当前的域设置是这样的(已清理): 1) mailhost.main.example (Domain); 2)mail.example(域名别名,MX在其他地方);3) newmail.main.example(不在 zimbra、CatchAll 域中)。

我是否必须添加新域(此处为 newmail.main.example)作为域别名才能使其正常工作?我想是这样。

更新:我将域添加为别名,并使用此命令来使用通讯组列表而不是用户:

zmprov modifyDistributionList list@other.domain.example zimbraMailCatchAllAddress @some.domain.example
Run Code Online (Sandbox Code Playgroud)

不幸的是,现在当收到邮件时我收到此消息:

Your message WAS SUCCESSFULLY RELAYED to:
  <user@other.domain.example>

The message WAS NOT relayed to:
  <""@other.domain.example>: [127.0.0.1] said:
   501 5.1.3 Failed, id=12509-18, from MTA([127.0.0.1]:10025): 501 5.1.3 Bad recipient address syntax

This delivery report was generated by the program amavisd-new at host
other.domain.example. Our internal reference code for your message is
11304-14/3aX6PrCFUxBz
Run Code Online (Sandbox Code Playgroud)

检查了邮件列表,我没有看到任何异常的会员资格。

小智 5

我在尝试将帐户配置为多个域的捕获所有地址时遇到了同样的问题,并发现了这个有价值的论坛条目:捕获所有不起作用:多值语法 命令

zmprov modifyAccount catchall@mydomain.com zimbraMailCatchAllAddress @mydomain.com
Run Code Online (Sandbox Code Playgroud)

将帐户 catchall@mydomain.com 的 zimbraMailCatchAllAddress 属性设置为值 @mydomain.com。如果您尝试使用相同的命令为该帐户设置一个额外的域,即包罗万象的地址

zmprov modifyAccount catchall@mydomain.com zimbraMailCatchAllAddress @otherdomain.com
Run Code Online (Sandbox Code Playgroud)

该值将被覆盖。幸运的是,该模型允许写入多个值。技巧是使用多值语法(使用“+”符号)而不是其他域:

zmprov modifyAccount catchall@mydomain.com +zimbraMailCatchAllAddress @otherdomain.com
Run Code Online (Sandbox Code Playgroud)