Fabio Ferrari
2010-Aug-11 10:07 UTC
[Dovecot] Subscription to folders and subscription file
Hello, I'm using dovecot 1.0.7 and have a problem with subscription files. The documentation says that this file ("subscriptions" or ".subscriptions" in the root of the maildir, I've tried both) holds the informations about the subscribed folders. I've created such a file with these lines: Trash Sent Drafts INBOX.prova INBOX.prova4 And configured a client (Thunderbird) with INBOX.prova and INBOX.prova3 subscribed. So, I have 2 different configurations: one for the client and one for the server. Then, I turned off the first PC and configured with default options a second client in a second PC. I expected that - it subscribed with the entries in the subscriptions file or - it subscribed with a default option, that is All Folders or None But it subscribed exactly the entries subscribed by the first client in the first PC. So, since I grepped "prova3" on all the directory structure and I found nothing, I think that dovecot is saving these informations in a binary format somewhere. Is it right? And, if it is right, how can I configure it to use the "subscriptions" file (or any other text file) as said in the documentation? Maybe I have to upgrade dovecot to do this? thank you in advance Fabio Ferrari
Timo Sirainen
2010-Aug-11 12:03 UTC
[Dovecot] Subscription to folders and subscription file
On 11.8.2010, at 11.07, Fabio Ferrari wrote:> The documentation says that this file ("subscriptions" or ".subscriptions" > in the root of the maildir, I've tried both) holds the informations about > the subscribed folders. > > I've created such a file with these lines: > > Trash > Sent > Drafts > INBOX.prova > INBOX.prova4This could be right..> And configured a client (Thunderbird) with INBOX.prova and INBOX.prova3 > subscribed. So, I have 2 different configurations: one for the client and > one for the server.Doesn't sound right.. They should be equal always. Try talking IMAP protocol and seeing if the subscriptions file you created is correct: http://wiki.dovecot.org/TestInstallation Especially see that the LIST and LSUB output contains the mailbox names the same way. You can also use SUBSCRIBE and UNSUBSCRIBE commands to change the subscriptions.> So, since I grepped "prova3" on all the directory structure and I found > nothing, I think that dovecot is saving these informations in a binary > format somewhere. Is it right?No, it doesn't. With Maildir it's in "subscriptions" text file. dovecot -n output might have been useful too.