Götz Reinicke - IT Koordinator
2014-Feb-27 16:16 UTC
[Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10
Am 27.02.14 17:06, schrieb Steffen:> G?tz Reinicke - IT Koordinator wrote: >> Am 27.02.14 09:41, schrieb Steffen Kaiser: >>> I suggest to turn on mail_debug, then you see all paths a.s.o. > >> Switched it on, but there are no more error messages. > > But you'll see lines with home= mail= a.s.o. Are these settings > correct? Maybe, post them, too.I just realised, that I used just a basic configuration (from the migration); I just added and started with the big conf.d and added my setting. There is still the same problem/error in the log, but with some more text: E.g. the rechnungseingang-finanzbuchhaltung looks like: Feb 27 16:59:55 imap(rechnungseingang-finanzbuchhaltung): Debug: Effective uid=3473, gid=1182, home=/home/misc_accounts/rechnungseingang-finanzbuchhaltung Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug: Effective uid=3474, gid=1182, home Feb 27 17:02:11 auth-worker(19896): Debug: pam(rechnungseingang-animationsinstitut,172.17.25.85): lookup service=dovecot Feb 27 17:02:11 auth-worker(19896): Debug: pam(rechnungseingang-animationsinstitut,172.17.25.85): #1/1 style=1 msg=Password: Feb 27 17:02:11 auth: Debug: client passdb out: OK 1 user=rechnungseingang-animationsinstitut Feb 27 17:02:11 auth-worker(19896): Debug: passwd(rechnungseingang-animationsinstitut,172.17.25.85): lookup Feb 27 17:02:11 auth: Debug: master userdb out: USER 3536191489 rechnungseingang-animationsinstitut system_groups_user=rechnungseingang-animationsinstitut uid=3474 gid=1182 home auth_token=58932681706c22720023a40104779c049ae2ac42 Feb 27 17:02:11 imap-login: Info: Login: user=<rechnungseingang-animationsinstitut>, method=PLAIN, rip=172.17.25.85, lip=193.196.129.3, mpid=21531, TLS, session=<dAWscWXzyQCsERlV> Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug: Effective uid=3474, gid=1182, homeFeb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:~/:INBOX=/var/mail/rechnungseingang-animationsinstitut Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Error: user rechnungseingang-animationsinstitut: Initialization failed: Namespace '': Home directory not set for user. Can't expand ~/ for mail root dir in: ~/:INBOX=/var/mail/rechnungseingang-animationsinstitut Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Error: Invalid user settings. Refer to server log for more information. -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5223 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20140227/af4e529e/attachment-0001.p7s>
Steffen Kaiser
2014-Feb-28 07:37 UTC
[Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 27 Feb 2014, G?tz Reinicke - IT Koordinator wrote:> Am 27.02.14 17:06, schrieb Steffen: >> G?tz Reinicke - IT Koordinator wrote: >>> Am 27.02.14 09:41, schrieb Steffen Kaiser: >>>> I suggest to turn on mail_debug, then you see all paths a.s.o. >> >>> Switched it on, but there are no more error messages. >> >> But you'll see lines with home= mail= a.s.o. Are these settings >> correct? Maybe, post them, too. > > I just realised, that I used just a basic configuration (from the > migration); I just added and started with the big conf.d and added my > setting. > > There is still the same problem/error in the log, but with some more text: > > E.g. the rechnungseingang-finanzbuchhaltung looks like: > > Feb 27 16:59:55 imap(rechnungseingang-finanzbuchhaltung): Debug: > Effective uid=3473, gid=1182, > home=/home/misc_accounts/rechnungseingang-finanzbuchhaltung > > Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug: > Effective uid=3474, gid=1182, home> > list=yes, subscriptions=yes > location=mbox:~/:INBOX=/var/mail/rechnungseingang-animationsinstitutSee that next Info line: !!!! Home directory not set for user. Can't expand ~/ for mail root dir in: ~/ !!!! In contrast to rechnungseingang-finanzbuchhaltung your userdb does not return no home dir for rechnungseingang-animationsinstitut, therefore your mail_location ~/ expands to the root directory "/". You have to correct your userdb. Maybe you need to clean the cache: doveadm auth cache flush - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUxA8zHD1/YhP6VMHAQLexQgAjIEJcpptztDfWUt+P/T5jOC6GNgZLGKw BqCLrlwfmFFmSKiwqrNee2mSTjIHtAE15doeBrTclh1Hhmdgq+rdRNydBc6TRbXe eXqZujdutDJPL1iZdNP3yT1p1lALKNPlqIraey7URUTQqSRwMymDmjHF4woY2VR4 wYnZb+PCcgWhIgLykTaV7gu7L1jVwzf7mH9liFZkTjOt0zHYzOXZ1jJ+K3X7TvBA jLQmxUp0ygCmAgd1Wl10El5e5RxMyZXvCOGiF++Rv4TJAJSxer1hgzSSY9EEv6wM kN3qkcGfXlmySYwNihk4Cf4xqqKryr364EIkBlEmYli5VLvxpY8WLg==RgoZ -----END PGP SIGNATURE-----