First report on updating

  • yes the password is good (test directly to pma)[hr]
    More Info :


    VM debian 6 + ISPCP 1.0.7 fresh install (no dovecot) -> upgrade to trunk with dovecot -> dovecot not work
    VM (copy of production) debian 6 + ISPCP 1.0.7 (dovecot installed) -> upgrade to same trunk -> WORK

    Debian 6 with proxmox 2 - OpenVZ - KVM
    I-mscp 1.0.3.0 migrate from ispcp 1.0.7
    dovecot + zarafa + z-push + maia mail guard + apacheITK

    Edited once, last by krok ().


  • yes the password is good (test directly to pma)[hr]
    More Info :


    VM debian 6 + ISPCP 1.0.7 fresh install (no dovecot) -> upgrade to trunk with dovecot -> dovecot not work
    VM (copy of production) debian 6 + ISPCP 1.0.7 (dovecot installed) -> upgrade to same trunk -> WORK


    I`ll test tonight. can you post your conf file (replace password)?

  • DOVECOT.CONF :
    -------------------------------------------


    # i-MSCP a internet Multi Server Control Panel
    #
    # Copyright (C) 2010 - 2011 by internet Multi Server Control Panel - http://i-mscp.net
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
    # for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>
    #
    # The Original Code is "i-MSCP internet Multi Server Control Panel".
    #
    # The Initial Developer of the Original Code is i-MSCP Team.
    # Portions created by Initial Developer are Copyright (C) 22010 by
    # internet Multi Server Control Panel. All Rights Reserved.
    #
    # @category i-MSCP
    # @copyright 2010 by i-MSCP | http://i-mscp.net
    # @author Daniel Andreca <[email protected]>
    # @version SVN: $Id: dovecot.conf.1 5308 2011-09-25 15:46:35Z sci2tech $
    # @link http://i-mscp.net i-MSCP Home Site
    # @license http://www.gnu.org/licenses/ GPL v2



    auth_mechanisms = plain login digest-md5
    base_dir = /var/run/dovecot


    dict {
    quotadict = mysql:/etc/dovecot/dovecot-dict-sql.conf
    }


    disable_plaintext_auth = no
    mail_location = maildir:%h
    mail_privileged_group = mail
    auth_debug_passwords=yes


    namespace private {
    inbox = yes
    prefix = INBOX.
    }


    plugin {
    global_script_path = /etc/dovecot/sieve/dovecot.sieve
    quota = dict:user::proxy::quotadict
    quota_rule = *:bytes=1G
    }


    protocols = imap pop3 managesieve
    #protocols = imap pop3 imaps pop3s managesieve


    auth default {


    passdb sql {
    args = /etc/dovecot/dovecot-sql.conf
    }


    userdb prefetch {
    }


    userdb sql {
    args = /etc/dovecot/dovecot-sql.conf
    }


    socket listen {
    client {
    path = /var/spool/postfix/private/auth
    mode = 0660
    user = postfix
    group = postfix
    }


    master {
    path = /var/run/dovecot/auth-master
    mode = 0660
    user = vmail
    group = mail
    }
    }


    user = root
    }


    ssl = no
    #ssl_cert_file = /etc/imscp/vm4.totalynet.fr.pem
    #ssl_key_file = /etc/imscp/vm4.totalynet.fr.pem


    protocol managesieve {
    listen = localhost:2000
    }


    protocol imap {
    mail_plugins = quota imap_quota
    }


    protocol pop3 {
    mail_plugins = quota
    pop3_uidl_format = %u-%v
    }


    protocol lda {
    auth_socket_path = /var/run/dovecot/auth-master
    mail_plugins = quota sieve
    postmaster_address = [email protected]
    }
    -------------------------------------------------
    DOVECOT-SQL.CONF
    --------------------------------------------------------


    # i-MSCP a internet Multi Server Control Panel
    #
    # Copyright (C) 2010 - 2011 by internet Multi Server Control Panel - http://i-mscp.net
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
    # for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>
    #
    # The Original Code is "i-MSCP internet Multi Server Control Panel".
    #
    # The Initial Developer of the Original Code is i-MSCP Team.
    # Portions created by Initial Developer are Copyright (C) 22010 by
    # internet Multi Server Control Panel. All Rights Reserved.
    #
    # @category i-MSCP
    # @copyright 2010 by i-MSCP | http://i-mscp.net
    # @author Daniel Andreca <[email protected]>
    # @version SVN: $Id: dovecot-sql.conf 5308 2011-09-25 15:46:35Z sci2tech $
    # @link http://i-mscp.net i-MSCP Home Site
    # @license http://www.gnu.org/licenses/ GPL v2


    driver = mysql
    connect = host=localhost dbname=ispcp user=dovecot_user password=xxxxxx
    default_pass_scheme = PLAIN


    password_query = SELECT CONCAT( '/var/mail/virtual/', SUBSTRING(`mail_addr`, LOCATE('@', `mail_addr`) +1 ), '/', SUBSTRING(`mail_addr`, 1, LOCATE('@', `mail_addr`) -1) ) AS 'userdb_home', '1000' AS 'userdb_uid', '8' AS 'userdb_gid', CONCAT('*:bytes=', `quota`, 'B') AS 'userdb_quota_rule', `mail_pass` AS 'password' FROM `mail_users` WHERE `mail_addr` = '%u';


    user_query = SELECT CONCAT( '/var/mail/virtual/', SUBSTRING(`mail_addr`, LOCATE('@', `mail_addr`) +1 ), '/', SUBSTRING(`mail_addr`, 1, LOCATE('@', `mail_addr`) -1) ) AS 'home', '1000' AS 'uid', '8' AS 'gid', CONCAT('*:bytes=', `quota`, 'B') AS 'quota_rule' FROM `mail_users` WHERE `mail_addr` = '%u';

    Debian 6 with proxmox 2 - OpenVZ - KVM
    I-mscp 1.0.3.0 migrate from ispcp 1.0.7
    dovecot + zarafa + z-push + maia mail guard + apacheITK

  • everything looks ok. if password do not contain any funny characters it should work. did you tested if you can login using a email client?

  • to webmail ? or to imap or pop3 ?[hr]
    to webmail don't work -> erreur 111 connection refused
    to imap and pop3 -> don't work dovecot isn't launch[hr]




    [hr]
    i have change password to pma and to the conf and it works...


    the problem is generate password ? forbidden caraters ? the generated password is ?>uBfRE\[hr]
    I have test to send a mail from [email protected] -> [email protected] and the mail is bounced :


    vm4 postfix/smtp[14073]: 33050AE2BE: to=<[email protected]>, relay=none, delay=0.07, delays=0.05/0.01/0/0, dsn=5.4.6, status=bounced (mail for totalynet.com loops back to myself)


    normal ?


    the mail is not receive

    Debian 6 with proxmox 2 - OpenVZ - KVM
    I-mscp 1.0.3.0 migrate from ispcp 1.0.7
    dovecot + zarafa + z-push + maia mail guard + apacheITK

    Edited once, last by krok ().

  • Problem was \ char. I`ll fix this. For bounce problem need to see
    1. /etc/postfix/main.cf
    2. relevant lines from /etc/postfix/imscp/aliasses or domains.


    Thank you for your patience and help

  • Main .CF
    ------------------


    # i-MSCP a internet Multi Server Control Panel
    #
    # Copyright (C) 2001-2006 by moleSoftware GmbH - http://www.molesoftware.com
    # Copyright (C) 2006-2010 by isp Control Panel - http://ispcp.net
    # Copyright (C) 2010 by internet Multi Server Control Panel - http://i-mscp.net
    #
    # Version: $Id: main.cf 5308 2011-09-25 15:46:35Z sci2tech $
    #
    # The contents of this file are subject to the Mozilla Public License
    # Version 1.1 (the "License"); you may not use this file except in
    # compliance with the License. You may obtain a copy of the License at
    # http://www.mozilla.org/MPL/
    #
    # Software distributed under the License is distributed on an "AS IS"
    # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
    # License for the specific language governing rights and limitations
    # under the License.
    #
    # The Original Code is "VHCS - Virtual Hosting Control System".
    #
    # The Initial Developer of the Original Code is moleSoftware GmbH.
    # Portions created by Initial Developer are Copyright (C) 2001-2006
    # by moleSoftware GmbH. All Rights Reserved.
    #
    # Portions created by the ispCP Team are Copyright (C) 2006-2010 by
    # isp Control Panel. All Rights Reserved.
    #
    # Portions created by the i-MSCP Team are Copyright (C) 2010 by
    # internet Multi Server Control Panel. All Rights Reserved.
    #
    # The i-MSCP Home Page is:
    #
    # http://i-mscp.net
    #


    # Postfix directory settings; These are critical for normal Postfix MTA functionallity
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix


    # Some common configuration parameters
    inet_interfaces = all
    mynetworks_style = host


    myhostname = vm4.totalynet.fr
    mydomain = vm4.totalynet.fr.local
    myorigin = $myhostname


    smtpd_banner = $myhostname ESMTP i-MSCP 1.0.1.5 Managed
    setgid_group = postdrop


    # Receiving messages parameters
    mydestination = $myhostname, $mydomain
    append_dot_mydomain = no
    append_at_myorigin = yes
    local_transport = local
    transport_maps = hash:/etc/postfix/imscp/transport
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases


    # Delivering local messages parameters
    mail_spool_directory = /var/mail


    # Mailboxquota
    # => 0 for unlimited
    # => 104857600 for 100 MB
    mailbox_size_limit = 0
    mailbox_command = procmail -a "$EXTENSION"


    # Message size limit
    # => 0 for unlimited
    # => 104857600 for 100 MB
    message_size_limit = 0


    biff = no
    recipient_delimiter = +


    local_destination_recipient_limit = 1
    local_recipient_maps = unix:passwd.byname $alias_database


    # i-MSCP Autoresponder parameters
    imscp-arpl_destination_recipient_limit = 1


    # Delivering virtual messages parameters
    virtual_mailbox_base = /var/mail/virtual
    virtual_mailbox_limit = 0


    virtual_mailbox_domains = hash:/etc/postfix/imscp/domains
    virtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxes


    virtual_alias_maps = hash:/etc/postfix/imscp/aliases


    virtual_minimum_uid = 1000
    virtual_uid_maps = static:1000
    virtual_gid_maps = static:8


    # SASL paramters
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes


    smtpd_helo_required = yes


    smtpd_helo_restrictions = permit_mynetworks,
    permit_sasl_authenticated,
    reject_invalid_helo_hostname,
    reject_non_fqdn_helo_hostname


    smtpd_sender_restrictions = reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    permit_mynetworks,
    permit_sasl_authenticated


    smtpd_recipient_restrictions = reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_unlisted_recipient,
    check_policy_service inet:127.0.0.1:12525,
    check_policy_service inet:127.0.0.1:10023,
    permit


    smtpd_data_restrictions = reject_multi_recipient_bounce,
    reject_unauth_pipelining


    # TLS parameters; activate, if avaible/used
    #smtpd_tls_security_level = may
    #smtpd_tls_loglevel = 2
    #smtpd_tls_cert_file = /etc/imscp/vm4.totalynet.fr.pem
    #smtpd_tls_key_file = /etc/imscp/vm4.totalynet.fr.pem
    #smtpd_tls_auth_only = no
    #smtpd_tls_received_header = yes


    # AMaViS parameters; activate, if available/used
    #content_filter = amavis:[127.0.0.1]:10024


    # Quota support; activate, if available/used
    #virtual_create_maildirsize = yes
    #virtual_mailbox_extended = yes
    #virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
    #virtual_mailbox_limit_override = yes
    #virtual_maildir_limit_message = "The user you're trying to reach is over mailbox quota."
    #virtual_overquota_bounce = yes




    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    virtual_transport = dovecot
    dovecot_destination_recipient_limit = 1


    -----------------------
    alias :
    --------------------------
    #
    # MTA Managment Virtual Aliases List;
    #
    # Please do NOT edit it manually;
    #
    [email protected][email protected]
    [email protected][email protected]
    [email protected][email protected]
    [email protected][email protected]


    -----------------------
    domains
    -----------------------
    totalynet.com vdmn_entry
    -------------------

    Debian 6 with proxmox 2 - OpenVZ - KVM
    I-mscp 1.0.3.0 migrate from ispcp 1.0.7
    dovecot + zarafa + z-push + maia mail guard + apacheITK

  • Found the reason: postmap command was not runned by engine. Lets see why. Tested with last trunk and now seems to work. Please let me know if you find more problem

    Edited once, last by oldev01 ().

  • krok, tu veux une corde ? :D


    English: krok, you want a rope ? :D

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • pas la peine d'essayer la corde, c'est sur je tomberai sur un default de fabriquation p^^[hr]
    Thanks Daniel[hr]
    i wait the beta to continu test (upgrade test for my copy of production) thanks, i have apply most correction into my production system for preparing Migration.


    if you want test a trunk i'am away.

    Debian 6 with proxmox 2 - OpenVZ - KVM
    I-mscp 1.0.3.0 migrate from ispcp 1.0.7
    dovecot + zarafa + z-push + maia mail guard + apacheITK

    Edited once, last by krok ().