[Dovecot] Problem with IMAP and MAIL environment
Here is the problem:
Jul 19 10:40:17 mail1 pop3(master): mbox: Can't create root IMAP folder /home/usuarios/master/mail: Permission denied Jul 19 10:40:17 mail1 pop3(master): MAIL environment missing and autodetection failed (home /home/usuarios/master) Jul 19 10:40:17 mail1 dovecot: child 3528 (pop3) returned error 89
Is there anyway to avoid it? Thanks.
Luis Miguel Cruz wrote:
Here is the problem:
Jul 19 10:40:17 mail1 pop3(master): mbox: Can't create root IMAP folder /home/usuarios/master/mail: Permission denied Jul 19 10:40:17 mail1 pop3(master): MAIL environment missing and autodetection failed (home /home/usuarios/master) Jul 19 10:40:17 mail1 dovecot: child 3528 (pop3) returned error 89
Is there anyway to avoid it? Thanks.
Do you need to create a directory ~/master/ ? I know that in my set up I had to create a directory for all the dovecot mail.
Do you need to create a directory ~/master/ ?
This box is horrible, some users don´t have home directory :P But the problem is why I need home directory if I only use pop3 with mailboxes under /var/spool/mail/<user>?
I know that in my set up I had to create a directory for all the dovecot mail.
On 19.7.2004, at 16:14, Luis Miguel Cruz wrote:
Do you need to create a directory ~/master/ ?
This box is horrible, some users don´t have home directory :P But the problem is why I need home directory if I only use pop3 with mailboxes under /var/spool/mail/<user>?
Dovecot needs to create it's index files somewhere, that's where you'd need the home dir. Dovecot anyway isn't really POP3-optimized, especially with mbox. If that's all you need you might as well use something else.
Normally POP3 users just download their mail and delete it from server. Then Dovecot's indexing is pointless and just slows down. If user leaves the mail to server then indexing would help though. I think Dovecot could theoretically only write indexes if user doesn't delete all their mails, but .. I don't know if it's worth the trouble.
I see. Some users here don´t have home directory, is there anyway to force dovecot to use a other directory? something like /opt/dovecot for all those users
Thanks
Timo Sirainen wrote:
On 19.7.2004, at 16:14, Luis Miguel Cruz wrote:
Do you need to create a directory ~/master/ ?
This box is horrible, some users don´t have home directory :P But the problem is why I need home directory if I only use pop3 with mailboxes under /var/spool/mail/<user>?
Dovecot needs to create it's index files somewhere, that's where you'd need the home dir. Dovecot anyway isn't really POP3-optimized, especially with mbox. If that's all you need you might as well use something else.
Normally POP3 users just download their mail and delete it from server. Then Dovecot's indexing is pointless and just slows down. If user leaves the mail to server then indexing would help though. I think Dovecot could theoretically only write indexes if user doesn't delete all their mails, but .. I don't know if it's worth the trouble.
On Tue, 2004-07-20 at 12:10, Luis Miguel Cruz wrote:
I see. Some users here don´t have home directory, is there anyway to force dovecot to use a other directory? something like /opt/dovecot for all those users
Dovecot uses the home directory that userdb gave it. You could set user's normal home directory to /opt/dovecot/username.. "If home directory exists, use it, otherwise use/create this another one I have here" would be really kludgy.
participants (3)
-
Luis Miguel Cruz
-
Timo Sirainen
-
Tom Allison