aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-01-02 00:20:33 +0000
committerPascal Terjan <pterjan@mageia.org>2012-01-02 00:20:33 +0000
commit179e1470533eecf156a80b876ecc0964443c09de (patch)
tree84c30916b0f5e18fca58af0aefc6d4d440336b1c /modules/postfix/templates
parent54c741976d6138cb3ef94668642c0620c701805c (diff)
downloadpuppet-179e1470533eecf156a80b876ecc0964443c09de.tar
puppet-179e1470533eecf156a80b876ecc0964443c09de.tar.gz
puppet-179e1470533eecf156a80b876ecc0964443c09de.tar.bz2
puppet-179e1470533eecf156a80b876ecc0964443c09de.tar.xz
puppet-179e1470533eecf156a80b876ecc0964443c09de.zip
Set myorigin (and mydomain + myhostname) for simple relay to be able to send emails from valstar without specifying domain
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r--modules/postfix/templates/simple_relay_main.cf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/postfix/templates/simple_relay_main.cf b/modules/postfix/templates/simple_relay_main.cf
index 5f8d44ca..5b544db5 100644
--- a/modules/postfix/templates/simple_relay_main.cf
+++ b/modules/postfix/templates/simple_relay_main.cf
@@ -20,6 +20,9 @@ mail_owner = postfix
# User configurable parameters
+myhostname = <%= fqdn %>
+mydomain = <%= domain %>
+myorigin = $mydomain
inet_interfaces = localhost
inet_protocols = all
mynetworks_style = host