Hello, I hate to have to ask this, but... why isn't the home directory being created automatically? Due to legacy compatibility we've had to use this type of home dir config: mail_location = maildir:/vmail/%d/%n mail_home = /vmail/%d/%n/home We're in the middle of upgrading to new hardware, and so I'm migrating configs to the new server, Dovecot 2.3.7 and Postfix 3.4.6 On our old server (Dovecot 2.2, Postfix 2.11) the home directory gets created automatically with a new user, but not on this one. The Dovecot debug logs just say "home dir not found." Can anyone point me in the right direction? Thank you, Asai
Asai via dovecot skrev den 2019-10-02 03:00:> mail_location = maildir:/vmail/%d/%n > mail_home = /vmail/%d/%n/home> Can anyone point me in the right direction?https://doc.dovecot.org/configuration_manual/home_directories_for_virtual_users/#home-directories-for-virtual-users mail_home = /var/vmail/%d/%n mail_location = maildir:~/mail little diff
Asai via dovecot skrev den 2019-10-02 03:00:> > https://doc.dovecot.org/configuration_manual/home_directories_for_virtual_users/#home-directories-for-virtual-users > > > mail_home = /var/vmail/%d/%n > mail_location = maildir:~/mail > > little diffHello, Thanks for replying.? I understand that that's in the docs, but I had to go with another option that's listed in the docs, which is to set up the home directory under the mail directory.? This is due to backwards compatibility needs. Asai
On 2.10.2019 4.00, Asai via dovecot wrote:> Hello, > > I hate to have to ask this, but... why isn't the home directory being > created automatically? > > Due to legacy compatibility we've had to use this type of home dir > config: > > mail_location = maildir:/vmail/%d/%n > mail_home = /vmail/%d/%n/home > > We're in the middle of upgrading to new hardware, and so I'm migrating > configs to the new server, Dovecot 2.3.7 and Postfix 3.4.6 > > On our old server (Dovecot 2.2, Postfix 2.11) the home directory gets > created automatically with a new user, but not on this one. The > Dovecot debug logs just say "home dir not found." > > Can anyone point me in the right direction? > > Thank you, > Asai >Can you configure mail_debug=yes, try again, and post the logs? Aki
On 10/1/2019 11:42 PM, Aki Tuomi via dovecot wrote:> Can you configure mail_debug=yes, try again, and post the logs? > > AkiHello Aki, This is the only piece of relevant info I've been getting in the logs, and I'm trying to figure out how I can get more debug data on this: Oct 02 07:34:09 imap(asai2 at triata.globalchange.media)<43553><9fylXO6TtycKCgDu>: Debug: Home dir not found: /vmail/triata.globalchange.media/asai2/home