[Dovecot] 2.1: imapc LIST problem / usage question

Lutz Preßler Lutz.Pressler at SerNet.DE
Fri Sep 9 13:01:49 EEST 2011


----- Forwarded message from SerNet Support Lutz Preßler <support at SerNet.DE> -----

From: SerNet Support Lutz Preßler <support at SerNet.DE>
Subject: 2.1: imapc LIST problem / usage question
To: dovecot at dovecot.org
Date: Fri, 9 Sep 2011 12:00:46 +0200
Organization: SerNet Service Network GmbH

Hello,

2.1.alpha1 (latest Debian auto build on amd64)

As a test, namespace for gmail integration set up by userdb
with
userdb_namespace=gmail userdb_namespace/gmail/list=yes userdb_namespace/gmail/subscriptions=no userdb_namespace/gmail/separator=. userdb_namespace/gmail/prefix=INBOX.gmail. userdb_namespace/gmail/location=imapc: userdb_imapc_host=imap.gmail.com userdb_imapc_user=ixxxxx at gmail.com userdb_imapc_password=xxxxx userdb_imapc_ssl=imaps userdb_imapc_ssl_ca_dir=/etc/ssl/certs userdb_imapc_port=993

(but having the namespace set up in config file makes no difference).

This works in principle. I can e.g.

0 select "INBOX.gmail.[Gmail].Alle Nachrichten"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 31 EXISTS
* 0 RECENT
* OK [UNSEEN 1] First unseen.
* OK [UIDVALIDITY 1] UIDs valid
* OK [UIDNEXT 19689] Predicted next UID
* OK [NOMODSEQ] No permanent modsequences
0 OK [READ-WRITE] Select completed.

and even use the gmail mailboxes within dovecot-virtual files!

But: LIST seems broken:

0 list "" "*"                                                                                                                       
* LIST (\HasChildren) "." "INBOX"                                                                                                   
* LIST (\HasNoChildren) "." "INBOX.privat"                                                                                          
* LIST (\HasChildren) "." "INBOX.test"                                                                                              
* LIST (\HasNoChildren) "." "INBOX.test.test2"                                                                                      
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.in2009"
[...]
* LIST (\Noselect \HasChildren) "." "INBOX.gmail"
* LIST (\HasNoChildren) "." "Arbeit"
* LIST (\HasNoChildren) "." "Belege"
* LIST (\HasNoChildren) "." "Privat"
* LIST (\HasNoChildren) "." "Reisen"
* LIST (\Noselect \HasNoChildren) "." "[Gmail]"
* LIST (\HasNoChildren) "." "[Gmail]/Alle Nachrichten"
* LIST (\HasNoChildren) "." "[Gmail]/Entw&-APw-rfe"
* LIST (\HasNoChildren) "." "[Gmail]/Gesendet"
* LIST (\HasNoChildren) "." "[Gmail]/Markiert"
* LIST (\HasNoChildren) "." "[Gmail]/Papierkorb"
* LIST (\HasNoChildren) "." "[Gmail]/Spam"
* LIST (\HasNoChildren) "." "[Gmail]/Wichtig"
* LIST (\HasChildren) "." "INBOX.virtual"
* LIST (\HasNoChildren) "." "INBOX.virtual.week"
* LIST (\HasNoChildren) "." "INBOX.virtual.sent"
* LIST (\HasNoChildren) "." "INBOX.virtual.allin"
0 OK List completed.

For the Gmail mailboxe the INBOX.gmail prefix is missing and / is used
as separator.

Second question: Is there a way to include multiple imapc instances/
namespaces with e.g. different destinations servers? I don't see how
because imapc_* parameters seem to be global (now), but it would be a very
useful feature.

Greetings,
  Lutz  




More information about the dovecot mailing list