Carsten Schoene
2014-05-04 f9d95c0cc0c61d89007a7a8a3b1a104344547446
during update from 3.0.5.3 to 3.0.5.4 on centos6 i got some error output

* i don't have mailman installed, but update.php tried to configure it
* i also fixed the check for doveadm in suse & fedora lib, but it seems my centos dovecot does not have "doveadm mount" subcommand, so i think the doveadm error will still exist
* on centos the 'receive_override_options = no_address_mappings' was added to postfix main.cf which leads to not working e-mail aliases/forwards

Reconfigure Services? (yes,no) [yes]: /ispconfig/ispconfig3/tree/master/

Configuring Postfix postalias: fatal: open /var/lib/mailman/data/aliases: No such file or directory Configuring Mailman
PHP Warning: chgrp(): Unable to find gid for mailman in /usr/src/ispconfig3_install/install/dist/lib/fedora.lib.php on line 106 Configuring Jailkit
Configuring Dovecot
usage: doveadm [-Dv] [-f ] []

altmove [-u |-A] [-S ]
auth [-a ] [-x ] []
config [doveconf parameters]
director add|flush|map|remove|status
dump [-t ]
expunge [-u |-A] [-S ]
fetch [-u |-A] [-S ]
force-resync [-u |-A] [-S ]
help
import [-u |-A] [-S ]
kick [-a ] [-f] [|]
log find|reopen|test
mailbox create|delete|list|mutf7|rename|status|subscribe|unsubscribe
penalty [-a ] []
purge [-u |-A] [-S ]
pw [-l] [-p plaintext] [-r rounds] [-s scheme] [-u user] [-V]
reload
search [-u |-A] [-S ]
sis deduplicate|find
stop
user [-a ] [-x ] [...]
who [-a ] [-1] [] []
Configuring Spamassassin
Configuring Getmail
Configuring Database
5 files modified
20 ■■■■■ changed files
install/autoupdate.php 6 ●●●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php 1 ●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 3 ●●●● patch | view | raw | blame | history
install/install.php 4 ●●● patch | view | raw | blame | history
install/update.php 6 ●●●●● patch | view | raw | blame | history
install/autoupdate.php
@@ -198,8 +198,10 @@
    $inst->configure_postfix('dont-create-certs');
    //** Configure mailman
    swriteln('Configuring Mailman');
    $inst->configure_mailman('update');
    if($conf['mailman']['installed'] == true) {
        swriteln('Configuring Mailman');
        $inst->configure_mailman('update');
    }
    //* Configure Jailkit
    swriteln('Configuring Jailkit');
install/dist/lib/fedora.lib.php
@@ -392,7 +392,6 @@
            'virtual_transport = dovecot',
            'smtpd_sasl_type = dovecot',
            'smtpd_sasl_path = private/auth',
            'receive_override_options = no_address_mappings'
        );
        // Make a backup copy of the main.cf file
install/dist/lib/opensuse.lib.php
@@ -443,7 +443,6 @@
            'virtual_transport = dovecot',
            'smtpd_sasl_type = dovecot',
            'smtpd_sasl_path = private/auth',
            'receive_override_options = no_address_mappings'
        );
        // Make a backup copy of the main.cf file
@@ -501,7 +500,7 @@
        exec("chown root:root $config_dir/$configfile");
        
        // Dovecot shall ignore mounts in website directory
        exec("doveadm mount add '/srv/www/*' ignore");
        if(is_installed('doveadm')) exec("doveadm mount add '/srv/www/*' ignore > /dev/null 2> /dev/null");
    }
install/install.php
@@ -191,7 +191,9 @@
    $inst->configure_postfix();
    //* Configure Mailman
    $inst->configure_mailman('install');
    if($conf['mailman']['installed'] == true) {
        $inst->configure_mailman('install');
    }
    //* Configure jailkit
    swriteln('Configuring Jailkit');
install/update.php
@@ -262,8 +262,10 @@
        $inst->configure_postfix('dont-create-certs');
        //** Configure mailman
        swriteln('Configuring Mailman');
        $inst->configure_mailman('update');
        if($conf['mailman']['installed'] == true) {
            swriteln('Configuring Mailman');
            $inst->configure_mailman('update');
        }
        //* Configure Jailkit
        swriteln('Configuring Jailkit');