Michael Nguyen writes:
From: "Sam Varshavchik" <[EMAIL PROTECTED]>Michael Nguyen writes:
*Hmm...this seems very close. Does this have to be on a folder-by-folder basis as it seems or can I do a global setting for all folders? I tried setting INBOX.* but I *think* it was setting the ACLs for a folder named
ACL2 supports wildcards, so if you were using ACL2 commands you would've done the right thing.
One last thing.... is it fair to say that the following command:
maildiracl -set /var/Accounts/l.sub/o.sub/loginmonitor.macnt INBOX.* user=postmaster r
In your original post you were referring to your IMAP server. My reference to ACL2 concerns the IMAP ACL2 protocol, not the command-line tools.
Will do only the following:
- Create the directory /var/Accounts/l.sub/o.sub/loginmonitor.macnt/courierimaphieracl - Create a file "*" in the above directory with contents:
owner aceilrstwx user=postmaster r
Yes, but that's not going to do what you want to do. This will, actually, set the ACLs for a folder called "*". Which is not going to fly, for long.
For a new mailbox, you just need to set the ACLs for its INBOX. All newly created folders inherit their ACLs from their parents.
I ask because I want to create these ACLs for all users when they are initially created. I could call "maildiracl", but I'd prefer to write something that will programmatically do it when I create a new user.
Right -- just reproducing the results of the maildiracl command on the filesystem will be sufficient.
pgpKt4jAyhr1g.pgp
Description: PGP signature
