2008/5/14 Timo Sirainen tss@iki.fi wrote:
What client?
"Logged out" means the client issued a LOGOUT command. Seems like your client just behaves that way.
Most webmails behave like that.
It was roundcube, right. Checked rawlogs - client really issues logout command.
It doesn't write them to home directory. Did you read http://wiki.dovecot.org/Debugging/Rawlog? I did. Created dovecot.rawlog - seems fine now.
Here are two logs from Thunderbird and Apple Mail:
I clicked 5 folders in Thunderbird and got 5 login attempts: May 15 09:42:00 athlon dovecot: imap-login: Login: user=neptunix@tehexergo.ru, method=PLAIN, rip=192.168.0.24, lip=192.168.0.3, TLS May 15 09:42:00 athlon dovecot: IMAP(neptunix@tehexergo.ru): Effective uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:00 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:00 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: root=/var/spool/mail/tehexergo.ru/neptunix/Maildir, index=/var/spool/mail/tehexergo.ru/neptunix, control=, inbox= May 15 09:42:02 athlon dovecot: imap-login: Login: user=neptunix@tehexergo.ru, method=PLAIN, rip=192.168.0.24, lip=192.168.0.3, TLS May 15 09:42:02 athlon dovecot: IMAP(neptunix@tehexergo.ru): Effective uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:02 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:02 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: root=/var/spool/mail/tehexergo.ru/neptunix/Maildir, index=/var/spool/mail/tehexergo.ru/neptunix, control=, inbox= May 15 09:42:02 athlon dovecot: imap-login: Login: user=neptunix@tehexergo.ru, method=PLAIN, rip=192.168.0.24, lip=192.168.0.3, TLS May 15 09:42:02 athlon dovecot: IMAP(neptunix@tehexergo.ru): Effective uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:02 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:02 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: root=/var/spool/mail/tehexergo.ru/neptunix/Maildir, index=/var/spool/mail/tehexergo.ru/neptunix, control=, inbox= May 15 09:42:03 athlon dovecot: imap-login: Login: user=neptunix@tehexergo.ru, method=PLAIN, rip=192.168.0.24, lip=192.168.0.3, TLS May 15 09:42:03 athlon dovecot: IMAP(neptunix@tehexergo.ru): Effective uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:03 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:03 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: root=/var/spool/mail/tehexergo.ru/neptunix/Maildir, index=/var/spool/mail/tehexergo.ru/neptunix, control=, inbox= May 15 09:42:03 athlon dovecot: imap-login: Login: user=neptunix@tehexergo.ru, method=PLAIN, rip=192.168.0.24, lip=192.168.0.3, TLS May 15 09:42:03 athlon dovecot: IMAP(neptunix@tehexergo.ru): Effective uid=112, gid=118, home=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:03 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: data=/var/spool/mail/tehexergo.ru/neptunix/Maildir:INDEX=/var/spool/mail/tehexergo.ru/neptunix May 15 09:42:03 athlon dovecot: IMAP(neptunix@tehexergo.ru): maildir: root=/var/spool/mail/tehexergo.ru/neptunix/Maildir, index=/var/spool/mail/tehexergo.ru/neptunix, control=, inbox= May 15 09:42:05 athlon dovecot: IMAP(neptunix@tehexergo.ru): Disconnected in IDLE
Same picture with Apple Mail.
This creates 10 rawlog files (5 ins + 5 outs), each ending with IDLE command. (I've attached these files just in case). Is it nornal, that client makes 5 connections to the IMAP server?
Dmitry Brigadirov