要定义要分配给 postfix 中许多不同选项的项目列表,您可以使用逗号分隔列表,如下所示:
relay_domains = example.com,example.net,example.org
或者像这样的哈希映射:
relay_domains = hash:/etc/postfix/relay_domains
然后使用 postmap 将该键值项文件转换为 bdb 文件。
我的问题是:使用哈希映射而不是仅指定列表是否有任何性能原因?
performance postfix
performance ×1
postfix ×1