From 005bdc3eeb0944b2ad720760cc4c430ad663bd6b Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 14 Apr 2024 17:44:11 +0000 Subject: Use hostname as sender domain We don't have SPF on mageia.org as we allow users to use it, so emails from cron sent as root@mageia.org tend to be rejected while we now have SPF on hostnames. --- modules/postfix/templates/main.cf | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index 86ad81c2..7fe0f073 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -42,7 +42,6 @@ smtp_address_preference = ipv4 mynetworks = 212.85.158.144/28 [2a02:2178:2:7::]/64 127.0.0.1 163.172.148.228 [2001:bc8:4400:2800::4115] myhostname = <%= fqdn %> mydomain = <%= domain %> -myorigin = $mydomain <%- if all_tags.include?('postfix::server::secondary') -%> relay_domains = <%= domain %>, ml.<%= domain %>, -- cgit v1.2.1