Creating a Shared Maildir for use with Courier-IMAP

I have a Redhat Fedora Core 1 server which I have installed qmail, courier-imap , vpopmail and qmailadmin as my mail solution

I want to be able to have shared folders aswell so multiple mail accounts can share information between themselve when connecting via IMAP

  1. Create a shareable maildir
    /usr/lib/courier-imap/bin/maildirmake -S /opt/Maildir-shared
  2. Create a shareable folder with the correct permissions
    /usr/lib/courier-imap/bin/maildirmake -s write -f test-shared /opt/Maildir-shared/
  3. Add the shareable folder to the users mailbox
    maildirmake --add test_shared=/opt/Maildir-shared /home/vpopmail/domains/jamesmcdonald.id.au/james/Maildir