Robert McLay
2004-Apr-26 18:30 UTC
[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
Timo Sirainen
2004-Apr-26 20:30 UTC
[Dovecot] Newbie Q: Setting up under linux: Spool directory.
On Mon, 2004-04-26 at 21:30, Robert McLay wrote:> 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.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/MaildirYou 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040426/c6553cb0/attachment-0001.bin>