Posts by sanitariu

    Distro - Debian 8.0
    i-MSCP 1.3.7
    Buold: 20161021
    Codename: Horner


    Before when customer make new alias I (admin/reseller) must confirm (activate) the new domain (alias).
    Now in this version it is automatically approved.
    I am searching for a way to make it manually approved. So each new alias to require my confirmation (activation).
    I searched the panel but can not find such option.
    Sorry if i missed something.

    After upgrading to debian jessy now i got the following error:


    ./imscp-autoinstall -d


    [ERROR] autoinstaller::Adapter::DebianAdapter::_updatePackagesIndex: Can't call method "set" on an undefined value at /usr/share/perl5/Debconf/FrontEnd.pm line 126, <GEN0> line 5.
    Use of uninitialized value $ret in scalar chomp at /usr/share/perl5/Debconf/Client/ConfModule.pm line 132, <STDIN> line 4.
    Use of uninitialized value $ret in split at /usr/share/perl5/Debconf/Client/ConfModule.pm line 133, <STDIN> line 4.
    Use of uninitialized value $ret[0] in string eq at /usr/share/perl5/Debconf/Client/ConfModule.pm line 134, <STDIN> line 4.
    Use of uninitialized value $ret[0] in string eq at /usr/bin/debconf-apt-progress line 173, <STDIN> line 4.


    What could be the reason and how to fix it ?


    Thanks

    Thanks for your help !
    My goal was actually to have different IP for mail ssl access via outlook/thunder or other.
    We will have certificate host mismatch error and we can not use pop3/imap mail.mydomain.com server name.
    Using my main one was not an option.
    So for all this to work except dns fixes we need to fix dovecot.conf something like:


    after
    ------


    protocol imap {
    mail_plugins = $mail_plugins imap_quota
    }


    protocol pop3 {
    pop3_uidl_format = %u-%v
    }


    we add
    ---------


    local my_other_ip {
    protocol imap {
    ssl_cert = </etc/ssl/domain/domain.crt
    ssl_key = </etc/ssl/domain/domain.key.nopass
    }


    protocol pop3 {
    ssl_cert = </etc/ssl/domain/domain.crt
    ssl_key = </etc/ssl/domain/domain.key.nopass
    }
    }


    also in master.cf
    we add something like:


    my_new_ip:smtp inet n - - - - smtpd
    -o smtp_helo_name=mail.domain.com
    -o smtpd_banner=mail.domain.com


    my_new_ip:smtps inet n - - - - smtpd
    -o smtpd_tls_wrappermode=yes
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o smtpd_tls_key_file=/etc/ssl/domain/domain.key.nopass
    -o smtpd_tls_cert_file=/etc/ssl/domain/domain.crt
    -o smtpd_tls_ca_file=/etc/ssl/domain/intermediate.ca
    -o smtp_helo_name=mail.domain.com
    -o smtpd_banner=mail.domain.com


    my_new_ip:submission inet n - - - - smtpd
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o smtpd_tls_key_file=/etc/ssl/domain/domain.key.nopass
    -o smtpd_tls_cert_file=/etc/ssl/domain/domain.crt
    -o smtpd_tls_ca_file=/etc/ssl/domain/intermediate.ca
    -o smtp_helo_name=mail.domain.com
    -o smtpd_banner=mail.domain.com



    Of course you will have to get cert for domain.com.

    It is possible but i can not understand the idea to have different IP if my mail server still points to
    the main one and the most bad thing is that i can not change normally the ip of host - mail.domain.com.
    IP is useful only for web but the most useful will be different mail server ip on shared platform.
    Can save some domains from spam and other good stuff and have ssl different client certificates per domain.
    I already did that but manually and i do not like it.