|
|
[OX User] Ordering IMAP Folders
Martin Werthmoeller
mw at lw-systems.de
Wed Apr 18 11:04:46 CEST 2007
Am Tue, 17 Apr 2007 um 17:30 GMT +0200 schrieb Philip Kaspar:
> Hallo Together
>
Hello Philip,
> I have created a new mail folder for all 200 users in the firm.
> Now all 200 users have to subscribe for that new folder before they can
> use it.
> Is that not bullshit? But there seems no other way to free the folder by
> the Administrator then to instruct all 200 users how to subscribe for
> the new folder themselfe.
>
No. Thats specified at the IMAP RFCs. Open-Xchange uses IMAP, but it has
not defined this standard.
> Where can I activate the folders in the database?
> If this is not in the database is that configured in a file? Or in ldap?
> Or where the hell?
>
That depends on the IMAP server. On cyrus it stored at the $USERNAME.sub
files at the config directory of each user. For a one-time job, you could
create a script, that will add your new folder to this file. The folders
are stored in alpabethically order. Thats very important!
Than should down your cyrus daemon and run the script.
Another approach on cyrus could be done with SASL proxy authentication.
The cyrus admin tools have the ability to authenticate as the mail
administrator user, but will perform some operations as another user (like
setuid(2)). The cyrus admin tools are connecting the service via IMAP,
thus you could look for an easy approach to do this by a script via IMAP.
On dovecot, you should look at the file .subscriptions at the base Maildir
folder of each mailbox. This files contains the subscribed folders.
But I want you to call attention, that this approaches are only hacks!
Best regards,
Martin Werthmoeller
--
LWsystems - IT-Service and Consulting
mw at lw-systems.de * http://www.lw-systems.de
More information about the User
mailing list
|
|