Merry Chrismas ans happy new year
Posts by krok
-
-
-
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.
-
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 = hostmyhostname = vm4.totalynet.fr
mydomain = vm4.totalynet.fr.local
myorigin = $myhostnamesmtpd_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 = 0biff = 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 = 0virtual_mailbox_domains = hash:/etc/postfix/imscp/domains
virtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxesvirtual_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 = yessmtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostnamesmtpd_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit_mynetworks,
permit_sasl_authenticatedsmtpd_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,
permitsmtpd_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 = yessmtpd_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;
#
webmaster@totalynet.comkrok@totalynet.com
abuse@totalynet.comkrok@totalynet.com
postmaster@totalynet.comkrok@totalynet.com
admin@totalynet.comkrok@totalynet.com-----------------------
domains
-----------------------
totalynet.com vdmn_entry
------------------- -
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 krok@totalynet.com -> test@totalynet.com and the mail is bounced :vm4 postfix/smtp[14073]: 33050AE2BE: to=<test@totalynet.com>, 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
-
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 <sci2tech@i-mscp.net>
# @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 v2auth_mechanisms = plain login digest-md5
base_dir = /var/run/dovecotdict {
quotadict = mysql:/etc/dovecot/dovecot-dict-sql.conf
}disable_plaintext_auth = no
mail_location = maildir:%h
mail_privileged_group = mail
auth_debug_passwords=yesnamespace 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 managesieveauth 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.pemprotocol 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 = postmaster@vm4.totalynet.fr
}
-------------------------------------------------
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 <sci2tech@i-mscp.net>
# @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 v2driver = mysql
connect = host=localhost dbname=ispcp user=dovecot_user password=xxxxxx
default_pass_scheme = PLAINpassword_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';
-
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 have post the error of restart dovecot and the syslog at the same time
i have test credential of config into pma and it works
DOVECOT :
dovecot don't work
/etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecotLast died with error (see error log for more information): Auth process died too early - shutting down
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.Sep 28 18:37:02 vm4 dovecot: dovecot: Killed with signal 15 (by pid=7023 uid=0 code=kill)
Sep 28 18:37:02 vm4 dovecot: Dovecot v1.2.15 starting up (core dumps disabled)
Sep 28 18:37:02 vm4 dovecot: auth(default): Fatal: mysql: Missing value in connect string: default_pass_scheme
Sep 28 18:37:02 vm4 dovecot: dovecot: Fatal: Auth process died too early - shutting down
Sep 28 18:37:11 vm4 dovecot: Dovecot v1.2.15 starting up (core dumps disabled)
Sep 28 18:37:11 vm4 dovecot: auth(default): Fatal: mysql: Missing value in connect string: default_pass_scheme
Sep 28 18:37:11 vm4 dovecot: dovecot: Fatal: Auth process died too early - shutting downi test login to pma with dovecot_user and work (password to /etc/dovecot/dovecot-dict-sql.conf is OK)
-
are you the error log or the exact error ?
are you migrate to beta 4 or to trunk ? -
i have test trunk 5332[hr]
an idea for dovecot ?