On Sat, Mar 25, 2006 at 04:29:12PM +0100, mess-mate wrote:
> Ok.. i'll go to mysql and virtual users ??

Sounds fine.

> I'd  like to go also for only 1 mailbox like this:
> Maildir
>        cur
>        new-tmp
>        .courrier
>                       cur
>               new
>               tmp
>       .debian
>              cur
>              new
>              tmp
>       etc....
> 
> and authorize access to .couriier and others with ACL's.
> This way user1 can see and go to .courrier but not to .debian,
> and so further.
> 
> Anybody installed somewhat like this ?

This is more-or-less standard virtual mailboxes; the only thing I can think
of which would be a problem is that normally each user would have their own
Maildir.

Note that the hierarchy you showed above is, in IMAP terms,

   INBOX
   INBOX.courier
   INBOX.debian

If you really point all users at the same Maildir, then they will also be
sharing the same INBOX. You could use ACLs to prevent some users accessing
INBOX, but I suspect many mail clients will be confused since the IMAP spec
does specify that you must have an 'INBOX' and therefore they will assume
they can access it.

The normal approach would be:

[user1]   /home/user1/Maildir
[user2]   /home/user2/Maildir
[user3]   /home/user3/Maildir
[common]  /home/common/Maildir
          /home/common/Maildir/.courier
          /home/common/Maildir/.debian
          ..etc

That is, you give each user their own Maildir, and then create the shared
folders either within one of those users, or within another user (here
'common'), who grants access to the others as necessary using ACLs.

If you don't want users to receive mail into their own INBOX, you can always
configure your MTA never to deliver mail into them.

Regards,

Brian.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to