I've add
$ENV{'MASTER_USER'} = $ENV{'USER'};
to my postlogin-imap script, and it looks like that all is working, thank you!!! I'll test it next week, but as I see ACL and base operations work, so I think that all other works too))
But what does it mean when I return in master_user field current user's name?))) As I understand it increase masteruser's rights to full control of user's mailbox. But if I return in master_user not a current user name, but something else?))) What master_user field control?))) (Sorry, I can't find any information about this feature[?])
2010/4/16 Timo Sirainen tss@iki.fi
On Fri, 2010-04-16 at 15:30 +0400, Неворотин Вадим wrote:
Hmm[?] For what can I use masterusers, if I even can't read with masteruser user's mails from INBOX? And where can I read about masterusers in that way. I really can't understand for what there is masterusers if they can't do anything)))
The feature was originally implemented for a voicemail feature. There would be a "voicemail" master user that would have permission to write new mails to users' "voicemail" mailbox, but nothing else.
You could have a similar "spam" master user that only has access to users' "Spam" mailbox (for training spam bayesian or whatever).
Anyway, did you try my suggestion on how to make it work the way you wanted? If it doesn't work yet, I can change the code to make it work:
You could try if having your userdb return master_user=%u field would make it work the way you want.