email: fix SPF HELO check

Postfix was using a temporary address instead of the EUI-64, which is
the one associated to the mailserver domain.
This commit is contained in:
Michele Guerini Rocco 2021-03-07 12:24:03 +01:00
parent 4a66f97df8
commit d062eeaca7
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -35,13 +35,16 @@
enableSubmissionSsl = true;
};
# Improve hashing speed
services.dovecot2.extraConfig = ''
# Improve hashing speed
auth_cache_verify_password_with_worker = yes
'';
# Prefer IPv6
services.postfix.extraConfig = ''
# Prefer IPv6
smtp_address_preference = ipv6
# Prevent binding on temporary addresses
smtp_bind_address6 = 2001:470:c8e8:0:230:48ff:fefa:91e1
'';
}