Hello!
Email is stored as plain textfile in /var/mail/andreas. I assume this is mbox-format.
I get the following in the log telneting to localhost:
2020-03-22 20:21:10 imap(andreas@dualbit.de): Error: chdir(/var/spool/mail/andreas) failed: Not a directory 2020-03-22 20:21:10 imap(andreas@dualbit.de): Error: Namespace '': Mail storage autodetection failed with home=/var/spool/mail/andreas 2020-03-22 20:21:10 imap(andreas@dualbit.de): Info: Namespace '': Mail storage autodetection failed with home=/var/spool/mail/andreas in=0 out=372
In case in the passwd-file I specify userdb_mail=mbox:/var/mail/andreas:INBOX=/var/mail/%n I see:
2020-03-22 20:31:00 imap(andreas@dualbit.de): Error: chdir(/var/spool/mail/andreas) failed: Not a directory 2020-03-22 20:31:00 imap(andreas@dualbit.de): Error: Namespace '': mbox: mbox root directory can't be a file: /var/mail/andreas (http://wiki2.dovecot.org/MailLocation/Mbox)
How can I make this work?
Regards
Andreas
On 22 Mar 2020, at 21.46, ratatouille <ratatouille@bitclusive.de> wrote:
Hello!
Email is stored as plain textfile in /var/mail/andreas. I assume this is mbox-format.
I get the following in the log telneting to localhost:
2020-03-22 20:21:10 imap(andreas@dualbit.de): Error: chdir(/var/spool/mail/andreas) failed: Not a directory 2020-03-22 20:21:10 imap(andreas@dualbit.de): Error: Namespace '': Mail storage autodetection failed with home=/var/spool/mail/andreas 2020-03-22 20:21:10 imap(andreas@dualbit.de): Info: Namespace '': Mail storage autodetection failed with home=/var/spool/mail/andreas in=0 out=372
In case in the passwd-file I specify userdb_mail=mbox:/var/mail/andreas:INBOX=/var/mail/%n I see:
This will not work. Please point mail to somewhere else. like: userdb_mail=mbox:~/mail:INBOX=/var/mail/%n
Sami
participants (2)
-
ratatouille
-
Sami Ketola