Hi all.

   I've been running a Gentoo based mail server for decades - yeah, really!
   I usually upgrade it about once a year, which I just did.

   Been using the older dovecot versions until 2.4.5 got pulled in.

   Under Dovecot 2.3, I simply had the statement:
   mail_location = maildir:~/.maildir
   In dovecot/conf.d/10-mail and everything has been working.

   Ungraded my system and along comes 2.4 which changes configuration up.
   Using their converter, they suggest:

   mail_driver = maildir
   mail_path = ~/.maildir
   returns the error:

   mail dovecot: imap(ccgllc)<5839><6sozAX5bskysEAQB>: Error: Namespace
   inbox: mail_storage settings: Failed to parse configuration: Invalid
   setting mail_path=~/.maildir: mail_path setting used home directory (~/)
   but there is no mail_home and userdb didn't return it
   Setting mail_home = /home/%{user} gets closer, but then dovecot has
   permission errors reading the .maildir directory:

   mail dovecot: imap(kevinc)<5541><6HubuX1bV42sEAQB>: Error: maildir:
   stat(/home/kevinc/.maildir/tmp) failed: Permission denied
   (euid=5000(<unknown>) egid=5000(<unknown>) missing +x perm:
   /home/kevinc/.maildir, dir owned by 1000:1000 mode=0700)

   Been going in circles for hours over this...  all I want is a nice simply
   mairdir based imap server.  btw - have SSL working just fine now.

   just added:

   passdb pam {
     driver = pam
     pam_service_name = *
   }

   userdb passwd {
     driver = passwd
   }
   since passdb and userdb were specified in my old configuration.  Now
   getting:
   auth-worker(kevinc,172.16.4.1)<5973></2FNPn5b1YqsEAQB>: request [1]:
   Error: pam: pam_authenticate() failed: Authentication failure
   (/etc/pam.d/* missing?

   /etc/pam.d/ exist, including the new dovecot statement.  In any case, that
   last step feels like I am going backwards.

   Help please.
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to