[Dovecot] Idea to enhance migration from UW-Imap
Timo Sirainen
tss at iki.fi
Tue Jul 20 20:15:52 EEST 2004
On Tue, 2004-07-20 at 16:39, Klaus Steinberger wrote:
> All my users have their Mailboxes in ~/Mail. My idea would be now to strip off
> "Mail" from the imap commands, so that both a client which prepends "Mail" as
> well as one who doesn't would see the same mailboxes.
>
> Can somebody give me a hint where in the dovecot source I could do that
> stripping (at best some central function, so this stripping has to be done just
> one time). I would be glad to make the changes and then to contribute that
> change, I just need a hint where in the sources I will find the right place.
With 0.99.10 you'd have to fix functions in
src/lib-storage/index/mbox/mbox-storage.c
With 1.0-tests it's possible by defining namespaces:
namespace private {
separator = /
inbox = yes
prefix =
}
namespace private {
separator = /
prefix = mail/
hidden = yes
}
namespace private {
separator = /
prefix = ~/mail/
hidden = yes
}
namespace private {
separator = /
prefix = ~%u/mail/
hidden = yes
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040720/2966f310/attachment-0001.bin>
More information about the dovecot
mailing list