Skip to content

Commit b673442

Browse files
committed
Merged revisions 2943-3026 from stable branch.
1 parent 93f24e1 commit b673442

File tree

294 files changed

+747
-2496
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+747
-2496
lines changed

config/amavis/amavis_sql.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

config/amavis/amavisd.conf

Lines changed: 0 additions & 1513 deletions
This file was deleted.

config/courier/authdaemonrc

Lines changed: 0 additions & 68 deletions
This file was deleted.

config/courier/authmysqlrc

Lines changed: 0 additions & 265 deletions
This file was deleted.

config/exim4/readme.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

install/dist/lib/fedora.lib.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,8 @@ function configure_postfix($options = '')
8383
$command = 'useradd -g '.$cf['vmail_groupname'].' -u '.$cf['vmail_userid'].' '.$cf['vmail_username'].' -d '.$cf['vmail_mailbox_base'].' -m';
8484
if(!is_user($cf['vmail_username'])) caselog("$command &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
8585

86+
//* These postconf commands will be executed on installation and update
8687
$postconf_commands = array (
87-
'myhostname = '.$conf['hostname'],
88-
'mydestination = '.$conf['hostname'].', localhost, localhost.localdomain',
89-
'mynetworks = 127.0.0.0/8 [::1]/128',
9088
'virtual_alias_domains =',
9189
'virtual_alias_maps = proxy:mysql:'.$config_dir.'/mysql-virtual_forwardings.cf, mysql:'.$config_dir.'/mysql-virtual_email2email.cf',
9290
'virtual_mailbox_domains = proxy:mysql:'.$config_dir.'/mysql-virtual_domains.cf',
@@ -118,6 +116,15 @@ function configure_postfix($options = '')
118116
'inet_interfaces = all'
119117
);
120118

119+
//* These postconf commands will be executed on installation only
120+
if($this->is_update == false) {
121+
$postconf_commands = array_merge($postconf_commands,array(
122+
'myhostname = '.$conf['hostname'],
123+
'mydestination = '.$conf['hostname'].', localhost, localhost.localdomain',
124+
'mynetworks = 127.0.0.0/8 [::1]/128'
125+
));
126+
}
127+
121128
//* Create the header and body check files
122129
touch($config_dir.'/header_checks');
123130
touch($config_dir.'/mime_header_checks');

0 commit comments

Comments
 (0)