On Tue, Oct 14, 2003 at 12:58:16PM -0400, Henry Baragar ([EMAIL PROTECTED]) wrote:Bryan,
For security reasons, binc chroot's to the user's Maildir++ or IMAPdir depot directory. One of the effects is that symbolic links to files/directories outside of the depot directory cease to work.
Interesting. I have my IMAPdir/INBOX symlinked to ~/Maildir in order to keep
courier-imap pop3d from breaking and to maintain my original qmail
configuration and it works just fine, if what you stated was true, since
~/Maildir is outside the chroot jail of ~/IMAPdir it shouldn't work, but it
does. Or (and this is highly probably) I could be totally missing what
you're saying :).
My mistake... I had thought binc did a chroot to the user's directory! But it only does this for bincimap-up.
Not only does your situation work, but you can set up a symlink to any Maildir directory and it works, provided you grant the correct file permissions. My problem with my original test scenario was that I forgot to add the execute ("x") permissions to the Maildir and its subdirs.
Now that I have the diretory permissions correct, I can subscribe to the shared folder but still have a problem: qmail sets the permissions to "-rw-------" when it delivers the message. Now we have to find a way to "chmod g+rw" the mail messages so that the non-owner users can actually read the mail. (A cron job that runs once every minute?)
Henry
Or is my binc implementation not chroot? Hrm. Need to dig through my config
file.
-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca
