[Dovecot] Newbie Q: Setting up under linux: Spool directory.
I am trying to set up dovecot under linux. (RH9 if it matters). I'm having trouble having it find the mail that is already delivered.
What I would like is that mail is delivered by fetch mail to /var/spool/mail/mclay (that me) then have dovecot find it. I'm sure that I have not set the dovecot.conf file correctly. The documentation is unclear as to what "mbox" is and "INBOX" is.
I have tried having default_mail_env unset and with the following:
default_mail_env = mbox:/var/spool/mail/%u:INBOX=:/home/%u/Maildir
What I get when I talk to it directly is:
$ telnet localhost imap Trying 127.0.0.1... Connected to localhost Escape character is '^]'.
- OK dovecot ready. A00002 LOGIN mclay "xxxxxx" A00002 OK Logged in. A00003 SELECT INBOX A00003 NO Internal error [2004-04-26 12:56:03]
So could a kind sole point me in the right direction?
Thanks
On Mon, 2004-04-26 at 21:30, Robert McLay wrote:
mbox and maildir are mail file formats, INBOX is the location of the mailbox which receives new incoming mail.
I have tried having default_mail_env unset and with the following:
default_mail_env = mbox:/var/spool/mail/%u:INBOX=:/home/%u/Maildir
You can't mix mbox and maildir currently, so /home/%u/Maildir wouldn't work. You probably want:
default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u
A00003 NO Internal error [2004-04-26 12:56:03]
Log file tells the real reason. Hmm. This gets asked so often that I think I'll change the error message to "Internal error, see log file".
It's probably anyway because your default_mail_env was broken. If it still doesn't work, see http://wiki.dovecot.org/moin.cgi/VarMailDotLock
participants (2)
-
Robert McLay
-
Timo Sirainen