Hi, I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one question about home and mail directory. It's good idea to have same directory form home and mail ? Which scenerio will be better and why ? For example: A) Home: /home/doamin/user1 Mail: /home/doamin/user1 B) Home: /home/doamin/user1/home Mail: /home/doamin/user1 C) Home: /home/doamin/user1/ Mail: /home/doamin/user1/mail Thanks & regards, Jack
On 23 June 2017 at 15:57, j.emerlik <j.emerlik at gmail.com> wrote:> Hi, > I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one > question about home and mail directory. > > It's good idea to have same directory form home and mail ? > > Which scenerio will be better and why ? > > For example: > > A) > Home: /home/doamin/user1 > Mail: /home/doamin/user1 > > B) > Home: /home/doamin/user1/home > Mail: /home/doamin/user1 > > C) > Home: /home/doamin/user1/ > Mail: /home/doamin/user1/mail > > Thanks & regards, > Jack >Just wondering why you have to debate this, because it should depend on where your mail is currently stored. Dovecot will find it when you set the correct mail_location and the correct authentication - userdb/passdb - in whatever option you chose in /conf.d/10-auth.conf. I'd only be worried about whether users who left mail on the server are forced to fetch them again or if the migration is transparent. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
Am 23. Juni 2017 14:57:59 MESZ schrieb "j.emerlik" <j.emerlik at gmail.com>:>Hi, >I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one >question about home and mail directory. > >It's good idea to have same directory form home and mail ?No.>Which scenerio will be better and why ? > >For example: > >A) >Home: /home/doamin/user1 >Mail: /home/doamin/user1 > >B) >Home: /home/doamin/user1/home >Mail: /home/doamin/user1 > >C) >Home: /home/doamin/user1/ >Mail: /home/doamin/user1/mailThe recommended way to set up home and mail directory is example C. https://wiki2.dovecot.org/VirtualUsers/Home In fact it depends a bit what storage format you will be using. See also https://wiki2.dovecot.org/MailLocation>Thanks & regards, >Jack-- Christian Kivalo
I wrote because I read on the official website Dovecot.org: "Home directory shouldn't be the same as mail directory with mbox or Maildir formats (but with dbox/obox it's fine). It's possible to do that, but you might run into trouble with it sooner or later. " https://wiki.dovecot.org/VirtualUsers/Home Regards, Jack 2017-06-23 16:25 GMT+02:00 Odhiambo Washington <odhiambo at gmail.com>:> > > On 23 June 2017 at 15:57, j.emerlik <j.emerlik at gmail.com> wrote: > >> Hi, >> I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one >> question about home and mail directory. >> >> It's good idea to have same directory form home and mail ? >> >> Which scenerio will be better and why ? >> >> For example: >> >> A) >> Home: /home/doamin/user1 >> Mail: /home/doamin/user1 >> >> B) >> Home: /home/doamin/user1/home >> Mail: /home/doamin/user1 >> >> C) >> Home: /home/doamin/user1/ >> Mail: /home/doamin/user1/mail >> >> Thanks & regards, >> Jack >> > > Just wondering why you have to debate this, because it should depend on > where your mail is currently stored. Dovecot will find it when you set the > correct mail_location and the correct authentication - userdb/passdb - in > whatever option you chose in /conf.d/10-auth.conf. I'd only be worried > about whether users who left mail on the server are forced to fetch them > again or if the migration is transparent. > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft." >
Thx Christian, Yes, I read about it but I wonder why that is so and why couldn't be A or B. Best regards, Jack 2017-06-23 16:31 GMT+02:00 Christian Kivalo <ml+dovecot at valo.at>:> > > Am 23. Juni 2017 14:57:59 MESZ schrieb "j.emerlik" <j.emerlik at gmail.com>: > >Hi, > >I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one > >question about home and mail directory. > > > >It's good idea to have same directory form home and mail ? > No. > >Which scenerio will be better and why ? > > > >For example: > > > >A) > >Home: /home/doamin/user1 > >Mail: /home/doamin/user1 > > > >B) > >Home: /home/doamin/user1/home > >Mail: /home/doamin/user1 > > > >C) > >Home: /home/doamin/user1/ > >Mail: /home/doamin/user1/mail > The recommended way to set up home and mail directory is example C. > > https://wiki2.dovecot.org/VirtualUsers/Home > In fact it depends a bit what storage format you will be using. See also > https://wiki2.dovecot.org/MailLocation > > >Thanks & regards, > >Jack > > -- > Christian Kivalo >