I have to migrate some old system to new one with installed dovecot (It's my first time using dovecot). I have all mails inside /var/spool/mail folder (mbox files). I can connect and receive mails via POP3, but problem is that dovecot doesn't clear mbox file (everytime when I make send/receive in mailclient program I get all mails again). If I look into log file I see (when I do send/receive in mail client program) Jan 11 21:09:12 ns1 dovecot: POP3(matej): Disconnected: Logged out top=0/0, retr=5/23934, del=5/5, size=23848 Here is output of dovecot -n # 1.1.6: /etc/dovecot.conf # OS: Linux 2.6.27-desktop-0.rc8.2mnb i686 Mandriva Linux release 2009.0 (Official) for i586 protocols: imap imaps pop3 pop3s ssl_cert_file: /etc/pki/tls/certs/dovecot.pem ssl_key_file: /etc/pki/tls/private/dovecot.pem disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu auth default: passdb: driver: pam userdb: driver: passwd Thanks for help. Matej
On Jan 11, 2009, at 3:12 PM, Matej Golob wrote:> I have to migrate some old system to new one with installed dovecot > (It's my > first time using dovecot). I have all mails inside /var/spool/mail > folder > (mbox files). I can connect and receive mails via POP3, but problem > is that > dovecot doesn't clear mbox file (everytime when I make send/receive in > mailclient program I get all mails again). > > If I look into log file I see (when I do send/receive in mail client > program) > Jan 11 21:09:12 ns1 dovecot: POP3(matej): Disconnected: Logged out > top=0/0, > retr=5/23934, del=5/5, size=23848Do you also see any error messages? They may be in a different log file: http://wiki.dovecot.org/Logging My guess would be that there's a permission error with creating the dotlock file. http://wiki.dovecot.org/MailLocation/Mbox