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:
parent
4a66f97df8
commit
d062eeaca7
@ -16,7 +16,7 @@
|
|||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fqdn = "mail.eurofusion.eu";
|
fqdn = "mail.eurofusion.eu";
|
||||||
domains = [ "eurofusion.eu"];
|
domains = [ "eurofusion.eu" ];
|
||||||
|
|
||||||
loginAccounts = config.secrets.emailAccounts;
|
loginAccounts = config.secrets.emailAccounts;
|
||||||
|
|
||||||
@ -35,13 +35,16 @@
|
|||||||
enableSubmissionSsl = true;
|
enableSubmissionSsl = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Improve hashing speed
|
|
||||||
services.dovecot2.extraConfig = ''
|
services.dovecot2.extraConfig = ''
|
||||||
|
# Improve hashing speed
|
||||||
auth_cache_verify_password_with_worker = yes
|
auth_cache_verify_password_with_worker = yes
|
||||||
'';
|
'';
|
||||||
# Prefer IPv6
|
|
||||||
services.postfix.extraConfig = ''
|
services.postfix.extraConfig = ''
|
||||||
|
# Prefer IPv6
|
||||||
smtp_address_preference = ipv6
|
smtp_address_preference = ipv6
|
||||||
|
# Prevent binding on temporary addresses
|
||||||
|
smtp_bind_address6 = 2001:470:c8e8:0:230:48ff:fefa:91e1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user