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 }