Alexander Shikoff
2008-Oct-23 12:46 UTC
[Dovecot] Dovecot returns the same UIDL for another message
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
Roberto Tagliaferri - Tosnet srl
2008-Oct-23 12:57 UTC
[Dovecot] Dovecot returns the same UIDL for another message
Alexander Shikoff ha scritto:> 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've the same problem and i resolve with a change of the uidl format (yes, all email leave on server must reread from the client) pop3_uidl_format: %m -- Roberto Tagliaferri Responsabile Progettazione & Produzione TosNet s.r.l. - Internet Service Provider r.tagliaferri at tosnet.it www.tosnet.it
Timo Sirainen
2008-Oct-23 13:07 UTC
[Dovecot] Dovecot returns the same UIDL for another message
On Oct 23, 2008, at 3:46 PM, Alexander Shikoff wrote:> My dovecot's version is 1.1.3...> mail_location: mbox:/var/mail:INBOX=/var/mail/%Ln:INDEX=MEMORYThis is buggy, fixed in 1.1.4. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081023/d247b966/attachment-0002.bin>