From 604f29e8704b091d6f244a2430fe944e12dd38ac Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 7 Apr 2021 21:28:53 +0200 Subject: [PATCH] [Postfix] Set mynetworks_style = subnet to include all local subnets, will be overridden by mynetworks in extra.cf --- data/conf/postfix/main.cf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/conf/postfix/main.cf b/data/conf/postfix/main.cf index ab58874e..1005b284 100644 --- a/data/conf/postfix/main.cf +++ b/data/conf/postfix/main.cf @@ -15,7 +15,7 @@ smtpd_relay_restrictions = permit_mynetworks, alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases relayhost = -mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 [fe80::]/10 [fc00::]/7 +mynetworks_style = subnet mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all @@ -198,4 +198,3 @@ parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks # DO NOT EDIT ANYTHING BELOW # # User overrides # -