3
0
I'm trying to set up postfix+dovecot on my personal server (Ubuntu 14.0.4 LTS) for sending me some notifications from cronjobs. My /home/%user% directory is encrypted, so it's inaccessible to anything if I'm not logged in (and if the software does not support PAM sessions).
My problem is that for whatever reason my dovecot installation always tries to mount my /home/%user% on POP3 login, silently fails to do so and just returns no mail. In /var/log/mail.err I get series of
May 29 17:32:17 vps dovecot: pop3(u): Error: user u: Initialization failed: Namespace '': Can't create mailbox root dir /home/u/mail: Mountpoint /home/u isn't mounted. Mount it or remove it with doveadm mount remove
May 29 17:32:17 vps dovecot: pop3(u): Error: Invalid user settings. Refer to server log for more information.
In the meantime, doveadm mount list
does not show any mountpoints.
My mail is stored by Postfix in /var/mail/%user% and I've configured dovecot to use the same directory to the best of my knowledge.
Any ideas?
I have in the meantime given up and just set up a service Google account that I can use for SMTP. Not a piece of cake either, but turned out to be easier. – Sergey Kudriavtsev – 2016-05-30T14:55:01.727