HowTo Courier-IMAP / Postfix MySQL virtual users Shared Folder help

Discussion in 'HOWTO-Related Questions' started by Bei, Jul 26, 2007.

  1. Bei

    Bei New Member

    I have got my mail server running great on etch with postfix, mysql virtual accounts, and i use courier-imap.

    what I do want to get implemented though is a global shared public folder.

    I am having a hard time figuring this out.

    Looked at <a href="http://www.courier-mta.org/maildirmake.html">courier maildirmake</a> but struggling to get it working.

    maildirmake -S /home/Public_Folder
    maildirmake -s write -f public /home/Public_Folder
    Added "public /home/Public_Folder" to /etc/courier/maildirshared

    after that point not sure what to do really to get global share enabled.

    my goal would be to have new created accounts have read / write access to the folder by default where users can store important mail that other users can see for future reference.

    Any help or tips would be appreciated.
     
  2. Bei

    Bei New Member

    okay i got it showing in my list on my windows client when i subscribe now..

    did a ..
    Code:
    chown -cR vmail:vmail /home/Public_Folder
    chmod 2777 -cR /home/Public_Folder
    ...

    but problem now is when i use Outlook Express and subscribe i get the structure

    Public_Folder (none editable) > public (non editable) > public (editable)

    anyone know if this is normal or there a way to get it to this structure?

    Public_Folder (none editable) > public (editable)

    ....

    maybe if i can get the acl's working right i can restructure it.

    Code:
    authenumerate -s
    prints

    [email protected] 5000 5000 /home/vmail example.com/user/

    Code:
    maildiracl -set /home/Public_Folder INBOX.Public_Folder.public anyone cleirtx
    Code:
    maildiracl -list Public_Folder INBOX.Public_Folder.public
    prints

    owner aceilrstwx
    administrators aceilrstwx
    anyone ceilrtx


    ....

    but in Outlook when trying to create a folder in the first instance of Public_Folders says

    Unable to create the folder. The server responded: 'Access denied for CREATE on Public_Folder.public.newfoldername (ACL "c" required)'.

    is there a special group that i would need to add for the ACL?
     
    Last edited: Jul 26, 2007

Share This Page