]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adding more destinations to postfix
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 29 May 2010 21:26:25 +0000 (18:26 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 29 May 2010 21:26:25 +0000 (18:26 -0300)
manifests/mail.pp

index 47b81597e01dc932afd84e9f92a6435aa6d88e69..8c6a6fbc422302d283c720860e173790e42cb58c 100644 (file)
@@ -3,7 +3,7 @@ class nodo::mail {
   $mail_delivery         = "postfix"
   $postfix_relayhost     = "$domain"
   $postfix_smtp_listen   = "$ipaddress"
-  $postfix_mydestination = "\$myorigin"
+  $postfix_mydestination = '$myhostname, $mydomain, localhost.$mydomain, localhost'
 
   include nodo::vserver
   include postfix::mta
@@ -34,7 +34,7 @@ class nodo::mail {
 
   # Postfix configuration
   postfix::config { "myhostname":      value  => "$fqdn" }
-  postfix::config { "mailbox_command": value => '/usr/bin/maildrop -d ${USER}' }
+  postfix::config { "mailbox_command": value  => '/usr/bin/maildrop -d ${USER}' }
 
   # SASL
   postfix::config { "smtpd_sasl_auth_enable":          value => 'yes' }