[Dovecot] why dovecot try to access the uses's home?

Timo Sirainen tss at iki.fi
Thu Jan 6 21:28:15 EET 2005


On Thu, 2004-12-30 at 16:35 +0100, Farkas Levente wrote:
> > Since you keep all the mail data in /home/mail/ instead of /home/users/,
> > you might as well use /home/mail/%d/%n as user's home directory.
> 
> since i'd like to separate the user's real home and it's mail directory
> (home may be accessed by some way, but i would like to "hide" maildir
> directory). this means the home directory is equal with mail directory?

Yep.

> or it only has meaning in case of mbox?

Maildir too.

> > Currently home dir is used for nothing else than chdir()ing in there so
> > core dumps can be written. In future it may optionally look
> > some .dovecotrc file from there.
> 
> this means i have to share this file someway to the users to be able to
> edit this file? wouldn't it be better to place this file into his real
> home directory not under the maildir?

Sure, but in that case you'd still have to make sure that Dovecot has
read access to the user's .dovecotrc file, and in that case chdir()
would work into the home dir. Unless Dovecot would read the file as
root, hmm.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050106/cf883a7c/attachment-0001.bin>


More information about the dovecot mailing list