]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Fix some more template deprecations
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 18 Jun 2016 13:01:39 +0000 (10:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 18 Jun 2016 13:01:39 +0000 (10:01 -0300)
templates/virtual/postfixadmin/config.inc.php.erb

index d34c0bc97280db90f3a50c7f24c80515e61f001f..b9b6ef8772366c397a11d02a565bacce45c263c3 100644 (file)
@@ -80,7 +80,7 @@ $CONF['database_tables'] = array (
 // Site Admin
 // Define the Site Admins email address below.
 // This will be used to send emails from to create mailboxes.
-$CONF['admin_email'] = 'postmaster@<%= domain %>';
+$CONF['admin_email'] = 'postmaster@<%= @domain %>';
 
 // Mail Server
 // Hostname (FQDN) of your mail server.
@@ -214,7 +214,7 @@ $CONF['vacation'] = 'NO';
 // This is the autoreply domain that you will need to set in your Postfix
 // transport maps to handle virtual vacations. It does not need to be a
 // real domain (i.e. you don't need to setup DNS for it).
-$CONF['vacation_domain'] = 'autoreply.<%= domain %>';
+$CONF['vacation_domain'] = 'autoreply.<%= @domain %>';
 
 // Vacation Control
 // If you want users to take control of vacation set this to 'YES'.
@@ -279,14 +279,14 @@ $CONF['show_header_text'] = 'NO';
 $CONF['header_text'] = ':: Postfix Admin ::';
 
 // link to display under 'Main' menu when logged in as a user.
-$CONF['user_footer_link'] = "http://<%= domain %>/main";
+$CONF['user_footer_link'] = "http://<%= @domain %>/main";
 
 // Footer
 // Below information will be on all pages.
 // If you don't want the footer information to appear set this to 'NO'.
 $CONF['show_footer_text'] = 'YES';
-$CONF['footer_text'] = 'Return to <%= domain %>';
-$CONF['footer_link'] = 'http://<%= domain %>';
+$CONF['footer_text'] = 'Return to <%= @domain %>';
+$CONF['footer_link'] = 'http://<%= @domain %>';
 
 // Welcome Message
 // This message is send to every newly created mailbox.