Disable IPv6 for Postfix smtp
My provider does not allow to set reverse DNS and therefore, other mail servers don't accept my mail. Let's just disable IPv6 for now.
This commit is contained in:
parent
d8da8bd96f
commit
bc9e106d8a
1 changed files with 9 additions and 4 deletions
|
|
@ -31,11 +31,16 @@ in
|
|||
messageSizeLimit = 50 * 1024 * 1024;
|
||||
};
|
||||
};
|
||||
services.postfix.config = {
|
||||
smtp_bind_address = "159.69.103.126";
|
||||
smtp_bind_address_enforce = true;
|
||||
services.postfix = {
|
||||
config = {
|
||||
smtp_bind_address = "159.69.103.126";
|
||||
smtp_bind_address_enforce = true;
|
||||
};
|
||||
masterConfig.smtp_inet.args = [
|
||||
"-o"
|
||||
"inet_protocols=ipv4"
|
||||
];
|
||||
};
|
||||
|
||||
security.acme.certs."hha.jalr.de" = {
|
||||
dnsProvider = "hetzner";
|
||||
credentialsFile = pkgs.writeText "certbotCredentialsFile" "HETZNER_API_KEY_FILE=${config.sops.secrets.hetzner-api-key.path}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue