Hello,
we like to use dovecot, but our old imapd used to store the paths of the folder in the file ~/.mailboxlist. This file contains something like this:
mail/read
mail/dovecot
.netscape/imap/mailbox
.Mail/foo
Each line with a path to one mbox folder. And please pay attention that there is no path to the inbox, because this is stored on the server... Is there a way to use this files with dovecot? It would be a real pain to change this for a few thousand user...
Do you see a chance of using such a file? Or is it already possible and I'd overlooked it? Or is it easy / hard to implement?
kind regards,
Jürgen Kahnert
On Thu, 2003-02-27 at 13:02, Juergen Kahnert wrote:
Hello,
we like to use dovecot, but our old imapd used to store the paths of the folder in the file ~/.mailboxlist. This file contains something like this:
mail/read mail/dovecot .netscape/imap/mailbox .Mail/foo
If it were eventually possible to use this file and add to it a tag of what type of mailbox it is (mbox or maildir) that'd be cool too.
I know thats Hard(tm) but it would be cool.
:)
-sv
On Thu, 2003-02-27 at 20:02, Juergen Kahnert wrote:
we like to use dovecot, but our old imapd used to store the paths of the folder in the file ~/.mailboxlist. This file contains something like this:
mail/read mail/dovecot .netscape/imap/mailbox .Mail/foo
That's UW-IMAP's subscription list.
Is there a way to use this files with dovecot? It would be a real pain to change this for a few thousand user...
Set "default_mail_env = mbox:~/" and rename those ".mailboxlist" files to ".subscriptions" file (or modify dovecot's sources to make it use the .mailboxlist directly).
On Thu, 27. Feb. 2003 at 21:19:14 +0200, Timo Sirainen wrote:
Set "default_mail_env = mbox:~/" and rename those ".mailboxlist" files to ".subscriptions" file (or modify dovecot's sources to make it use the .mailboxlist directly).
Yes, that's what I searched for. I guess you'll add something to the config file to change SUBSCRIPTION_FILE_NAME - but so far I change it in the source.
And with the new version I'm able to let the inbox in a separate directory and all other folders in the home directories of the users, right?
That's perfect. Thanks Timo, good work. :)
Jürgen Kahnert
On Thu, Feb 27, 2003 at 09:21:27PM +0100, Juergen Kahnert wrote:
On Thu, 27. Feb. 2003 at 21:19:14 +0200, Timo Sirainen wrote:
Set "default_mail_env = mbox:~/" and rename those ".mailboxlist" files to ".subscriptions" file (or modify dovecot's sources to make it use the .mailboxlist directly).
Yes, that's what I searched for. I guess you'll add something to the config file to change SUBSCRIPTION_FILE_NAME - but so far I change it in the source.
And with the new version I'm able to let the inbox in a separate directory and all other folders in the home directories of the users, right?
That's also what I'd hope for, but so far don't seem to see the solution. Just to step back:
The notion of having the ~/Maildir/ be both a mailbox and the root of the folder tree is interesting (I understand it's not unique to dovecot), but limiting. Ideally I would like to be able to specify:
the default inbox (e.g. ~/Maildir/ or ~/Mailbox or /var/mail/user or whatever)
multiple paths to folder directories (e.g. ~/Mail or ~/Private or ~/Work/Mail or ~/Maildir/ or simply set it to ~/ and let the user browse their own home directory through an IMAP client and set up their own subscription).
have the imap server autorecognize the format of any mail folder that the client directs it to look at.
Can this be done? Have I missed something?
Yours, -mm-
On Thu, 2003-03-06 at 23:52, Mark E. Mallett wrote:
The notion of having the ~/Maildir/ be both a mailbox and the root of the folder tree is interesting (I understand it's not unique to dovecot), but limiting. Ideally I would like to be able to specify: .. Can this be done? Have I missed something?
Not yet, but they will once I add namespace configuration to config file.
My Dovecot plans go something like:
0.99.9: optionally using filename:2,flags,Uuid or filename,U=uid:2,flags style
- should come out ASAP because of ENVELOPE/BODYSTRUCTURE quoting bug and SEARCH crashing in some conditions
- I should store UIDs permanently somewhere else besides indexes
- CVS already supports X-UID headers in mbox
- I'd just have to make Courier-like uid database file, also
- LIST with Maildir is still a bit buggy. Either do a kludgy fix or rewrite the whole thing once more.
0.99.10:
- Version numbers got too high too soon :) I should rather be in 0.8..
- Now that UIDs are stored permanently, I'm fully free to change the index file format in any way I want. There's several optimizations that I have in mind.
- Much more optimized mbox rewriting, which requires a few index file modifications
- Several mbox-internal headers shouldn't be sent to client. To do this fast, their locations should be stored to index
- New config file format
- Namespace support
0.99.11:
- hopefully the large changes stop here and I could get towards 1.0..
1.0:
- There hasn't been known bugs for at least a few months
- I've fully audited the source code at least a few times and I'm sure it doesn't have a single security hole in it :)
1.1:
- Shared folders with ACL support
- quota
On 2003-03-06 16:52:08 -0500, Mark E. Mallett wrote:
- multiple paths to folder directories (e.g. ~/Mail or ~/Private or ~/Work/Mail or ~/Maildir/ or simply set it to ~/ and let the user browse their own home directory through an IMAP client and set up their own subscription).
this is one of the points i really hated with uw-imapd. if you have a unix home used a bit you will have a lot of folders. everytime you start with a fresh mua it scanned _all_ folders of my homedir if i forgot to say "only look in ~/Mail". it took really _long_ to get the initial list. e.g. some muas like sylpheed try to connect to the imap server after setting up only server/user name. no chance to specify the mail path....
- have the imap server autorecognize the format of any mail folder that the client directs it to look at.
hmhm on of the points of maildir+ was using the leading "." to allow a mixed setup with other maildir/mbox formats. so imagine we have: ~/Maildir/.foo/ (maildir+) ~/Maildir/foo (mbox)
which one will be shown?
Can this be done? Have I missed something? dunno
darix
-- irssi - the client of the smart and beautiful people
http://www.irssi.de/
participants (5)
-
Juergen Kahnert
-
Marcus Rueckert
-
Mark E. Mallett
-
seth vidal
-
Timo Sirainen