I've experienced with automatic client logout (probably after IDLE
command sent by a client).
I simply run any imap4 client and get this in mail.log:
May 14 18:26:37 athlon dovecot: imap-login: Login:
user=<neptunix at tehexergo.ru>, method=PLAIN, rip=192.168.0.3,
lip=192.168.0.3, secured
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Loading
modules from directory: /usr/lib/dovecot/modules/imap
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Module
loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Module
loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Effective
uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): maildir:
data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): maildir:
root=/var/spool/mail/tehexergo.ru/neptunix/Maildir,
index=/var/spool/mail/tehexergo.ru/neptunix, control=, inboxMay 14 18:26:37
athlon dovecot: IMAP(neptunix at tehexergo.ru):
Disconnected: Logged out
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Loading
modules from directory: /usr/lib/dovecot/modules/imap
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Module
loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Module
loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Effective
uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): maildir:
data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): maildir:
root=/var/spool/mail/tehexergo.ru/neptunix/Maildir,
index=/var/spool/mail/tehexergo.ru/neptunix, control=, inboxMay 14 18:26:37
athlon dovecot: imap-login: Login:
user=<neptunix at tehexergo.ru>, method=PLAIN, rip=192.168.0.3,
lip=192.168.0.3, secured
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru):
Disconnected: Logged out
May 14 18:26:37 athlon dovecot: imap-login: Login:
user=<neptunix at tehexergo.ru>, method=PLAIN, rip=192.168.0.3,
lip=192.168.0.3, secured
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Loading
modules from directory: /usr/lib/dovecot/modules/imap
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Module
loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Module
loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): Effective
uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): maildir:
data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix
May 14 18:26:37 athlon dovecot: IMAP(neptunix at tehexergo.ru): maildir:
root=/var/spool/mail/tehexergo.ru/neptunix/Maildir,
index=/var/spool/mail/tehexergo.ru/neptunix, control=, inboxMay 14 18:26:37
athlon dovecot: IMAP(neptunix at tehexergo.ru):
Disconnected: Logged out
3 login attempts each after another. Any way client shows me the inbox
and I can manage mail just fine. However it disconnects every time
instead of using idle command (this I my guess).
Don't know the reason for such a strange situation. Thanks for any
help in advance.
By the way I can't get rawlog to work. It doesn't write any logs to
home directory.
dovecot 10.0.10 (from ubuntu hardy repository)
dovecot -n
# 1.0.10: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
ssl_cert_file: /etc/ssl/private/exim.pem
ssl_key_file: /etc/ssl/private/exim.pem
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
login_greeting: Dovecot MUA ready.
login_max_processes_count: 32
login_max_connections: 64
max_mail_processes: 256
verbose_proctitle: yes
first_valid_uid: 100
mail_privileged_group: mail
mail_location: maildir:/var/spool/mail/%d/%n/Maildir:INDEX=/var/spool/mail/%d/%n
mail_debug: yes
mail_executable: /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
mail_plugins: quota imap_quota
auth default:
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 384
user: mail
plugin:
quota: maildir
--
Dmitry Brigadirov