Matyi Gábor writes:
2008. 03. 27, csütörtök keltezéssel 18.19-kor Sam Varshavchik ezt írta:> I set up with maildirmake -S a third Maildir, path > is: /var/imapshared/Maildir. and a "Notices" folder with maildirmake -sThe maildirmake command creates filesystem permissions-based shared folders, not shared folders for virtual accounts.Thanks. I removed this folder.> My questions: > (1) what do I write to the /etc/courier-imap/shared/index file?The same thing you'd write for any other virtual mail account. Instead of setting it up with maildirmake, which is wrong anyway, it should be configured just like any other mail account.Sorry, I don't know what should write in this file. Our wish: there are [EMAIL PROTECTED] and [EMAIL PROTECTED], and we'd like setting up a "Notices" common imap shared folder. I've read the documentation, but I don't understand how to configure in this case the courier-imap.
As I said above, set it up just like any other, ordinary, mail account. Call it '[EMAIL PROTECTED]', or, better yet, call this account "Public". Create its home directory, and its Maildir. Add it to the shared/index file, exactly like you've added the existing two accounts.
Set up an admin login and password, for this account, in courier-authlib. Use the userdb module, which is very convenient for this use, or your existing module. Log in to this account, via an ACL-capable IMAP client. Set the ACLs on the account's INBOX accordingly. Create a "Notices", or any other folder in the mailbox, and set its ACLs too.
If you do not have an ACL-capable IMAP client, use the maildiracl command, making sure that you run it using your virtual uid and gid.
Test that you can see the public account by using telnet to port 143, then: A login [EMAIL PROTECTED] [password] A list "" "#shared.*"
> (2) who should are the owner of the /etc/courier-imap/shared/index, what > should be the extension? The owner is not important, as long as the file is world-readable.Ok.> (3) what should be the access control list file of the > folder /var/imapshared/Maildir?That's entirely up to you. imapshared is no different than any other virtual mail account. Put an admin password on it, log in to it, via any ACL-capable IMAP client, and set the ACLs on the mailbox according to whatever access you wish to give any indiviual loginid for that mailbox.First simple I tried this with Kmail and Evoultion, but nothing happaned. After I used the maildiracl, but I didn't get any shared mail folder. Ok, the /etc/courier-imap/shared/index didn't exist, because I don't know what should write into. But If this thing so simple as you write, why it didn't work at me?Gabor------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
pgpD8l3Ea8VHr.pgp
Description: PGP signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap