Ok thanks for the help, the right "subscriptions" file was for some reasons in another directory out from the mailbox tree.
Fabio Ferrari
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.prova4
This 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.