Re: [Dovecot] Home directories

2010-08-25 Thread Timo Sirainen
On 25.8.2010, at 21.10, Brandon Lamb wrote: >>> OTOH you'd need to make distinction between system and virtual users in docs >>> everywhere home is used, like: >>> "mail_location: relative paths are based on $home for system users, and on >>> $vhome for virtual users." >> >> That text is wrong th

Re: [Dovecot] Home directories

2010-08-25 Thread Brandon Lamb
On Wed, Aug 25, 2010 at 10:46 AM, Timo Sirainen wrote: > On Wed, 2010-08-25 at 09:36 +0200, Rainer Frey wrote: >> > Also whenever I try to suggest using a separate home and mail directory, >> > the answer is way too often: "But I'm using virtual users. (They don't >> > have home directories.)" >>

Re: [Dovecot] Home directories

2010-08-25 Thread Timo Sirainen
On Wed, 2010-08-25 at 09:36 +0200, Rainer Frey wrote: > > Also whenever I try to suggest using a separate home and mail directory, > > the answer is way too often: "But I'm using virtual users. (They don't > > have home directories.)" > > > > So I started wondering. Maybe simply renaming the "home

Re: [Dovecot] Home directories

2010-08-25 Thread Stephan Bosch
Op 24-8-2010 17:53, Brandon Lamb schreef: On Tue, Aug 24, 2010 at 7:57 AM, Timo Sirainen wrote: My $0.02 is userdir over the others, but at the same time home and maildir made sense to me as it is. userdir / user_dir userpath / user_path userlocation / user_location userroot / user_root userba

Re: [Dovecot] Home directories

2010-08-25 Thread Rainer Frey
On Tuesday 24 August 2010 16:57:23 Timo Sirainen wrote: > I've noticed that a lot of people are using e.g.: > > mail_location = maildir:/var/vmail/%d/%n > > Then either they don't have home directory set, or their home directory > is the same as the maildir. http://wiki.dovecot.org/VirtualUsers/H

Re: [Dovecot] Home directories

2010-08-24 Thread Denny Schierz
hi, Am Dienstag, den 24.08.2010, 16:45 -0500 schrieb Mike Abbott: > > That being the case I'd avoid the word "virtual". It seems we also > want to avoid the word "home". > > +1. "Virtual" implies it's only for virtual users. "Home" means > $HOME. that is, what I think too. I also ignored "hom

Re: [Dovecot] Home directories

2010-08-24 Thread Jerry
On Tue, 24 Aug 2010 16:45:10 -0500 Mike Abbott articulated: > > That being the case I'd avoid the word "virtual". It seems we also > > want to avoid the word "home". > > +1. "Virtual" implies it's only for virtual users. "Home" means > $HOME. > > > So I see logic in calling it the "user stat

Re: [Dovecot] Home directories

2010-08-24 Thread Mike Abbott
> That being the case I'd avoid the word "virtual". It seems we also want to > avoid the word "home". +1. "Virtual" implies it's only for virtual users. "Home" means $HOME. > So I see logic in calling it the "user state directory" which could be > "userdir" for short. "Userdir" may still imp

Re: [Dovecot] Home directories

2010-08-24 Thread Romer Ventura
Typically when using virtual users all you do is store their emails. Why not introduce "stores"; Something like virtual_store or vstore might work nicely. Thanks -- Romer Ventura On Aug 24, 2010, at 1:43 PM, William Blunn wrote: On 24/08/2010 15:57, Timo Sirainen wrote: I've noticed

Re: [Dovecot] Home directories

2010-08-24 Thread William Blunn
On 24/08/2010 15:57, Timo Sirainen wrote: I've noticed that a lot of people are using e.g.: mail_location = maildir:/var/vmail/%d/%n Then either they don't have home directory set, or their home directory is the same as the maildir. http://wiki.dovecot.org/VirtualUsers/Home explains all the p

Re: [Dovecot] Home directories

2010-08-24 Thread Charles Marcus
Timo Sirainen wrote: > So far I've only come up with "vhome" as the replacement name. Other > ideas? Sounds good to me - simplest is usually best.

Re: [Dovecot] Home directories

2010-08-24 Thread Thomas Leuxner
Am 24.08.2010 um 20:01 schrieb Timo Sirainen: > On Tue, 2010-08-24 at 19:37 +0200, Thomas Leuxner wrote: > >> * basedir > > Dovecot already has a base_dir setting, typically /var/run/dovecot > >> * mailroot > > "Mail root dir" is the ~/Maildir/ or ~/mail/ or ~/dbox/ directory. > >> * virtual

Re: [Dovecot] Home directories

2010-08-24 Thread Timo Sirainen
On Tue, 2010-08-24 at 19:37 +0200, Thomas Leuxner wrote: > * basedir Dovecot already has a base_dir setting, typically /var/run/dovecot > * mailroot "Mail root dir" is the ~/Maildir/ or ~/mail/ or ~/dbox/ directory. > * virtual Well, "virtual" alone is used for tons of stuff :) "Virtual home"

Re: [Dovecot] Home directories

2010-08-24 Thread Thomas Leuxner
Am 24.08.2010 um 16:57 schrieb Timo Sirainen: > So far I've only come up with "vhome" as the replacement name. Other > ideas? This is pretty hard to eliminate IMHO also taking into account Brandon's recap. There is pros and cons for all kinds of inflexible naming schemes like: * basedir * mailr

Re: [Dovecot] Home directories

2010-08-24 Thread Romer Ventura
I use: mail_location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir No problems at all. I went this way because i use templates to deploy new VMs, once running i only have to change the network config on the new VM and add a new virtual disk to it. The disk size depends on the service and data ne

Re: [Dovecot] Home directories

2010-08-24 Thread Timo Sirainen
On Tue, 2010-08-24 at 15:57 +0100, Timo Sirainen wrote: > So far I've only come up with "vhome" as the replacement name. Other > ideas? Clarification: "vhome" would be the short name, "virtual home" the long name.

Re: [Dovecot] Home directories

2010-08-24 Thread fakessh
On Tue, 24 Aug 2010 08:53:31 -0700, Brandon Lamb wrote: > On Tue, Aug 24, 2010 at 7:57 AM, Timo Sirainen wrote: >> I've noticed that a lot of people are using e.g.: >> >> mail_location = maildir:/var/vmail/%d/%n >> >> Then either > > My $0.02 is userdir over the others, but at the same time hom

Re: [Dovecot] Home directories

2010-08-24 Thread Brandon Lamb
On Tue, Aug 24, 2010 at 7:57 AM, Timo Sirainen wrote: > I've noticed that a lot of people are using e.g.: > > mail_location = maildir:/var/vmail/%d/%n > > Then either they don't have home directory set, or their home directory > is the same as the maildir. http://wiki.dovecot.org/VirtualUsers/Home

Re: [Dovecot] Home directories

2010-08-24 Thread Brandon Lamb
On Tue, Aug 24, 2010 at 7:57 AM, Timo Sirainen wrote: > I've noticed that a lot of people are using e.g.: > > mail_location = maildir:/var/vmail/%d/%n > > Then either they don't have home directory set, or their home directory > is the same as the maildir. http://wiki.dovecot.org/VirtualUsers/Home

[Dovecot] Home directories

2010-08-24 Thread Timo Sirainen
I've noticed that a lot of people are using e.g.: mail_location = maildir:/var/vmail/%d/%n Then either they don't have home directory set, or their home directory is the same as the maildir. http://wiki.dovecot.org/VirtualUsers/Home explains all the problems of not separate home and mail director