diff options
author | Pascal Terjan <pterjan@mageia.org> | 2024-04-14 17:44:11 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2024-04-14 17:45:50 +0000 |
commit | 005bdc3eeb0944b2ad720760cc4c430ad663bd6b (patch) | |
tree | d65195290180ede9d401c9a84685f616b9f0262a /modules | |
parent | a0da415d2d4babc13c3bb8d616847951035e8650 (diff) | |
download | puppet-005bdc3eeb0944b2ad720760cc4c430ad663bd6b.tar puppet-005bdc3eeb0944b2ad720760cc4c430ad663bd6b.tar.gz puppet-005bdc3eeb0944b2ad720760cc4c430ad663bd6b.tar.bz2 puppet-005bdc3eeb0944b2ad720760cc4c430ad663bd6b.tar.xz puppet-005bdc3eeb0944b2ad720760cc4c430ad663bd6b.zip |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/postfix/templates/main.cf | 1 |
1 files changed, 0 insertions, 1 deletions
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 %>, |