浏览代码

[Postfix] Set smtp_address_preference to any (#3561)

Closes https://github.com/mailcow/mailcow-dockerized/issues/3560
Igor Scheller 5 年之前
父节点
当前提交
16b2a2c055
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/conf/postfix/main.cf

+ 1 - 1
data/conf/postfix/main.cf

@@ -172,7 +172,7 @@ non_smtpd_milters = inet:rspamd:9900
 milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
 milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
 mydestination = localhost.localdomain, localhost
 mydestination = localhost.localdomain, localhost
 # Prefere IPv4, useful for v4-only envs
 # Prefere IPv4, useful for v4-only envs
-smtp_address_preference = ipv4
+smtp_address_preference = any
 smtp_sender_dependent_authentication = yes
 smtp_sender_dependent_authentication = yes
 smtp_sasl_auth_enable = yes
 smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sasl_passwd_maps_sender_dependent.cf
 smtp_sasl_password_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sasl_passwd_maps_sender_dependent.cf