alex to start with try disabling : pop3_lock_session
ie set pop3_lock_session = no most of email clients (outlook / thunderbird etc ) make multiple connections simultaneously to the mailbox which causes problems. rajesh ----- Original Message ----- From: Alex Kan [mailto:[email protected]] To: [email protected] Sent: Thu, 27 Nov 2014 10:57:18 +0000 Subject: [qmailtoaster] Connection problem on a new installed QMT Dear All, We setup a new QMT system in centos 6.6 64bit by using the new installation procedure in one week ago. There are around 25 users and around 50 email address in there different domains. Most of the users are using outlook 2013 and few are using outlook 2010. All connected to the new mail server with imap only. Everyday, around 3-5 users have connection problem that the outlook popup keeping to ask for password. The outlook keep asking password by popup even user entered the correct password and user id. The problem won't solve until we restart dovecot and sometime we need to reboot the server. We found some error log in dovecot.log as below. Is it the cause of the problem? Nov 27 09:45:58 auth: Info: password([email protected],192.168.0.106,<KRhMTs0IJgDAqABq>): Requested DIGEST-MD5 scheme, but we have only SHA1 (input: 1NmkjL1YzYVA9Jk8aj75qvebJiA=) Nov 27 09:46:00 auth: Debug: client passdb out: FAIL 1 [email protected] After searching in google, we found something about to change cache_key=%u to cache_key=%u%r. But we are not sure we are in the same problem or not and whether this change is applicable to the QMT system. If this is the solution, where should we change the cache_key? In passdb or userdb or both passdb & userdb? Do anyone have the same problem happened before? We also found error like that. Nov 27 09:53:34 auth: Debug: cache([email protected],::1,<iK58ac0I2wAAAAAAAAAAAAAAAAAAAAAB>): miss Nov 27 09:53:34 auth-worker(4613): Debug: Loading modules from directory: /usr/lib64/dovecot/auth Nov 27 09:53:34 auth-worker(4613): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so Nov 27 09:53:34 auth-worker(4613): Debug: vpopmail([email protected],::1): lookup user=userb domain=domainb.com Nov 27 09:53:34 auth-worker: Error: vmysql: sql error[3]: Table 'vpopmail.domainb_com' doesn't exist Nov 27 09:53:34 auth-worker: Error: Attempting to rebuild connection to SQL server Nov 27 09:53:34 auth-worker: Error: vmysql: connection rebuild failed: Table 'vpopmail.domainb_com' doesn't exist Nov 27 09:53:34 auth-worker(4613): Info: vpopmail([email protected],::1): unknown user Nov 27 09:53:36 auth: Debug: client passdb out: FAIL 1 [email protected] Nov 27 09:53:36 imap-login: Info: Aborted login (auth failed, 1 attempts in 2 secs): user=<[email protected]>, method=DIGEST-MD5, rip=::1, lip=::1, secured, session=<iK58ac0I2wAAAAAAAAAAAAAAAAAAAAAB> Actually, [email protected]<mailto:[email protected]> exists and table 'vpopmail.domainb.com' also exists too. But there isn't any error related to mysql found in the log files. [root@mail ~]# dovecot -n # 2.2.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-504.1.3.el6.x86_64 x86_64 CentOS release 6.6 (Final) auth_cache_size = 32 M auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login digest-md5 cram-md5 first_valid_gid = 89 first_valid_uid = 89 log_path = /var/log/dovecot.log login_greeting = Dovecot toaster ready. mail_debug = yes mail_plugins = " quota" namespace { inbox = yes location = prefix = separator = . type = private } passdb { args = cache_key=%u webmail=127.0.0.1 driver = vpopmail } plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 } protocols = imap pop3 ssl_cert = </var/qmail/control/servercert.pem ssl_dh_parameters_length = 2048 ssl_key = </var/qmail/control/servercert.pem userdb { args = cache_key=%u quota_template=quota_rule=*:backend=%q driver = vpopmail } protocol imap { imap_client_workarounds = delay-newmail mail_plugins = " quota imap_quota" } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_fast_size_lookups = yes pop3_lock_session = yes } [root@mail ~]# Thanks, Alex
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
