[Dovecot] Dovecot returns the same UIDL for another message

Alexander Shikoff minotaur at crete.org.ua
Thu Oct 23 15:46:19 EEST 2008


Hello,

I have a serious problem with dovecot and mbox format.
dovecot returns the same UIDL for new messages and as result some MUAs don't
retrieve new mail.

UIDs returned by UIDL command look like 000000*1c*49006cec
And there is a moment when dovecot stops incrementing marked digits.
In other words when new message arrive to mbox, UIDL command returns used UID.

I'll show with example:

1. Send some message and try to retrieve UIDL via telnet:
# echo test-mailbox-1 | mail -s Test-1 mbox at cu.kiev.ua
# telnet pop3.cu.kiev.ua 10110
Trying 193.108.130.4...
Connected to emx.itcons.net.ua.
Escape character is '^]'.
+OK IT Consulting POP3/IMAP Server
USER mbox at cu.kiev.ua
+OK
PASS XXX
+OK Logged in.
LIST
+OK 1 messages:
1 1155
.
UIDL
+OK
1 0000001c49006cec
.
RETR 1
+OK 1155 octets
[...]
.
DELE 1
+OK Marked to be deleted.
QUIT
+OK Logging out, messages deleted.
Connection closed by foreign host.

2. Send another message and try to retrieve UIDL via telnet:
# echo test-mailbox-1 | mail -s Test-1 mbox at cu.kiev.ua
# telnet pop3.cu.kiev.ua 10110
Trying 193.108.130.4...
Connected to emx.itcons.net.ua.
Escape character is '^]'.
+OK IT Consulting POP3/IMAP Server
USER mbox at cu.kiev.ua
+OK
pass XXX
+OK Logged in.
UIDL
+OK
1 0000001c49006cec
.
QUIT
+OK Logging out.
Connection closed by foreign host.

My dovecot's version is 1.1.3. 
# 1.1.3: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: pop3
listen: *:10110
ssl_disable: yes
disable_plaintext_auth: no
shutdown_clients: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/pop3-login
login_greeting: IT Consulting POP3/IMAP Server
login_processes_count: 64
verbose_proctitle: yes
first_valid_uid: 26
last_valid_uid: 26
first_valid_gid: 6
last_valid_gid: 6
mail_privileged_group: mail
mail_location: mbox:/var/mail:INBOX=/var/mail/%Ln:INDEX=MEMORY
maildir_copy_preserve_filename: yes
mail_executable: /usr/local/libexec/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/local/lib/dovecot/pop3
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh
auth default:
  passdb:
    driver: sql
    args: /usr/local/etc/dovecot/passdb.sql
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot/mailbox.sql
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot/maildir.sql
plugin:
  quota: maildir

-- 
MINO-RIPE


More information about the dovecot mailing list