[Dovecot] doveadm fetch prints duplicate results in 2.1

Christoph Bußenius busseniu at in.tum.de
Wed Feb 29 11:31:38 EET 2012


Hi,

when the private namespace has "prefix = INBOX." and you use doveadm 
fetch to search for "mailbox INBOX", then it prints every message twice:

# doveadm fetch -u testuser 'mailbox uid guid' mailbox INBOX
mailbox: INBOX
uid: 1
guid: 1757c403a4ec4d4fbf040000463889b5


mailbox: INBOX
uid: 1
guid: 1757c403a4ec4d4fbf040000463889b5


Without "prefix = INBOX." in the configuration, the messages are only 
printed once.  In 2.0, they were never printed twice.


doveconf -n
# 2.1.1: /usr/local/dovecot/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-35-server x86_64 Ubuntu 10.04.4 LTS
disable_plaintext_auth = no
mail_gid = vmail
mail_location = mdbox:~/mdbox
mail_plugins = acl
mail_uid = vmail
namespace {
   inbox = yes
   location =
   prefix = INBOX.
   separator = .
}
passdb {
   args = scheme=CRYPT username_format=%u 
/usr/local/dovecot/etc/dovecot/users
   driver = passwd-file
}
protocols = imap
service auth {
   unix_listener auth-userdb {
     group = vmail
     mode = 0660
   }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   args = username_format=%u /usr/local/dovecot/etc/dovecot/users
   driver = passwd-file
}
protocol imap {
   mail_plugins = acl imap_acl
}


Cheers,
Christoph

-- 
Christoph Bußenius
Rechnerbetriebsgruppe der Fakultäten Informatik und Mathematik
Technische Universität München
+49 89-289-18519 <> Raum 00.05.055 <> Boltzmannstr. 3 <> Garching



More information about the dovecot mailing list