Commit 32d8e915 authored by tbrehm's avatar tbrehm
Browse files

Added ipv6 support to the mynetworks setting in postfix

parent 08745a54
...@@ -83,7 +83,7 @@ class installer_dist extends installer_base { ...@@ -83,7 +83,7 @@ class installer_dist extends installer_base {
$postconf_commands = array ( $postconf_commands = array (
'myhostname = '.$conf['hostname'], 'myhostname = '.$conf['hostname'],
'mydestination = '.$conf['hostname'].', localhost, localhost.localdomain', 'mydestination = '.$conf['hostname'].', localhost, localhost.localdomain',
'mynetworks = 127.0.0.0/8', 'mynetworks = 127.0.0.0/8 [::1]/128',
'virtual_alias_domains =', 'virtual_alias_domains =',
'virtual_alias_maps = proxy:mysql:'.$config_dir.'/mysql-virtual_forwardings.cf, mysql:'.$config_dir.'/mysql-virtual_email2email.cf', 'virtual_alias_maps = proxy:mysql:'.$config_dir.'/mysql-virtual_forwardings.cf, mysql:'.$config_dir.'/mysql-virtual_email2email.cf',
'virtual_mailbox_domains = proxy:mysql:'.$config_dir.'/mysql-virtual_domains.cf', 'virtual_mailbox_domains = proxy:mysql:'.$config_dir.'/mysql-virtual_domains.cf',
......
This diff is collapsed.
...@@ -366,7 +366,7 @@ class installer_base { ...@@ -366,7 +366,7 @@ class installer_base {
$postconf_commands = array ( $postconf_commands = array (
'myhostname = '.$conf['hostname'], 'myhostname = '.$conf['hostname'],
'mydestination = '.$conf['hostname'].', localhost, localhost.localdomain', 'mydestination = '.$conf['hostname'].', localhost, localhost.localdomain',
'mynetworks = 127.0.0.0/8', 'mynetworks = 127.0.0.0/8 [::1]/128',
'virtual_alias_domains =', 'virtual_alias_domains =',
'virtual_alias_maps = proxy:mysql:'.$config_dir.'/mysql-virtual_forwardings.cf, mysql:'.$config_dir.'/mysql-virtual_email2email.cf', 'virtual_alias_maps = proxy:mysql:'.$config_dir.'/mysql-virtual_forwardings.cf, mysql:'.$config_dir.'/mysql-virtual_email2email.cf',
'virtual_mailbox_domains = proxy:mysql:'.$config_dir.'/mysql-virtual_domains.cf', 'virtual_mailbox_domains = proxy:mysql:'.$config_dir.'/mysql-virtual_domains.cf',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment