[Dovecot] Shared namespaces

Mark Lidstone mlidstone at ngal.co.uk
Wed Mar 22 10:49:54 EET 2006


Hi Curtis,

Aye, I have read the wiki.  I was pretty surprised this wasn't covered to be honest.

Well, I've tried playing with the umask setting (thanks for the suggestion Channing) and changing the index locations (thanks Curtis), but no joy.

I'm just about to start digging into the source to see if it's something I can sort out myself.

Many thanks everyone,

Mark Lidstone

-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org]On
Behalf Of Curtis Maloney
Sent: 19 March 2006 22:51
To: Mark Lidstone
Cc: dovecot at dovecot.org
Subject: Re: [Dovecot] Shared namespaces


Mark Lidstone wrote:
> Hi all,
> 
> I logged with Thunderbird as user 1 and everything seems to work fine.  However, when I logged in as user 2 I was getting all kinds of errors.  On checking the permissions of /home/public/Maildir/subscriptions it was user1:user1 with mode 600.

Just a thought, but have you tried setting the INDEX location in the 
default_mail_env ?  I'm not certain, but I believe the subscriptions file is 
included in the INDEX set, and by setting its location elsewhere, you would 
prevent it from being inside the Maildir.  This would prevent ownership 
hijacking, AND let everyone have their own subscriptions.

I'm not certain of this, so either someone else can fill in the details, or you 
could check the source (and please report your findings:)

> To be perfectly honest, I'd ideally like to give people separate subscription settings anyway.  I thought about symlinking the folders in, but that makes it a manual process to add new folders to everyone's maildirs.

Of course, I'm assuming you've read the Wiki (it looks like you have...)

--
Curtis Maloney
cmaloney at cardgate.net


CONFIDENTIAL

The information contained in this e-mail and any attachment is
confidential.  It is intended only for the named addressee(s).  If you
are not the named addressee please notify the sender immediately and
do not disclose, copy or distribute the contents to any other person
other than the intended addressee(s).
 
VIRUSES

The contents of an attachment to this e-mail may contain software
viruses which could damage your own computer system.  While BMT Nigel Gee
and Associates Ltd has taken every reasonable precaution to minimise
this risk, we cannot accept liability for any damage which you sustain
as a result of software viruses.  You should carry out your own virus
checks before opening the attachment.



More information about the dovecot mailing list