Added support for postfix mynetworks and documented global variables
This commit is contained in:
parent
2dcf1a3e2d
commit
f19ae66ba5
2 changed files with 33 additions and 1 deletions
|
@ -270,6 +270,9 @@ mynetworks_style = subnet
|
|||
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
|
||||
#mynetworks = $config_directory/mynetworks
|
||||
#mynetworks = hash:/etc/postfix/network_table
|
||||
<% if has_variable?("postfix_networks") -%>
|
||||
mynetworks = <%= postfix_networks %>
|
||||
<% end -%>
|
||||
|
||||
# The relay_domains parameter restricts what destinations this system will
|
||||
# relay mail to. See the smtpd_recipient_restrictions description in
|
||||
|
@ -429,7 +432,7 @@ alias_database = hash:/etc/aliases
|
|||
#home_mailbox = Mailbox
|
||||
#home_mailbox = Maildir/
|
||||
<% if has_variable?("postfix_home_mailbox") -%>
|
||||
home_mailbox <%= postfix_home_mailbox %>
|
||||
home_mailbox = <%= postfix_home_mailbox %>
|
||||
<% end -%>
|
||||
|
||||
# The mail_spool_directory parameter specifies the directory where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue