On Tue, Oct 14, 2003 at 05:28:59PM -0400, Henry Baragar ([EMAIL PROTECTED]) wrote:
> 
> 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

* * * * * chmod u=rwx <directory>

That should run it every minute. Of course then you run into the issue of it
"breaking" between runs.  I would think something better might be adding to
the .qmail file:

~/Maildir/
|chmod u=rwx ~/Maildir/

That "should" deliver the mail then change the permissions.
-- 
PGP Key: http://archon.silvertree.org/pgp.txt
Fingerprint: E799 F032 BD9A 66B8 2930 AE2B E742 0B78 BADB 8E11 
"Compassion and retribution are two sides of the same coin. Necessity
dictates on what side the coin will fall."
"Firearms stand next in importance to the Constitution itself. They are the
American people's liberty teeth and keystone under independence." 
-George Washington

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to