[Dovecot] Problems reading mbox

James Brown jlbrown at bordo.com.au
Fri Jul 28 09:46:42 EEST 2006


OK. Figured it out. I needed to leave the file name off the INDEX  
path, so it pointed to a directory.

I no longer get any errors reported.

My problem now is that dovecot doesn't think that there are any  
messages.

Log reads:

Jul 28 16:42:04 Bordo-Mail-Server dovecot: Dovecot v1.0.rc2 starting up
Jul 28 16:42:13 Bordo-Mail-Server dovecot: pop3-login: Login:  
user=<jlbrown>, method=PLAIN, rip=192.168.1.10, lip=192.168.1.9
Jul 28 16:42:13 Bordo-Mail-Server dovecot: POP3(jlbrown): Effective  
uid=501, gid=501
Jul 28 16:42:13 Bordo-Mail-Server dovecot: POP3(jlbrown): mbox: data=/ 
Applications/4DWebSTAR/MailboxServer/Mail_DefaultSite/Mailboxes/ 
jlbrown/INBOX.mbox/:INDEX=/Applications/4DWebSTAR/MailboxServer/ 
Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox
Jul 28 16:42:13 Bordo-Mail-Server dovecot: POP3(jlbrown): mbox: INBOX  
defaulted to /Applications/4DWebSTAR/MailboxServer/Mail_DefaultSite/ 
Mailboxes/jlbrown/INBOX.mbox/inbox
Jul 28 16:42:13 Bordo-Mail-Server dovecot: POP3(jlbrown): mbox: root=/ 
Applications/4DWebSTAR/MailboxServer/Mail_DefaultSite/Mailboxes/ 
jlbrown/INBOX.mbox, index=/Applications/4DWebSTAR/MailboxServer/ 
Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox, inbox=/Applications/ 
4DWebSTAR/MailboxServer/Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox/ 
inbox
Jul 28 16:42:13 Bordo-Mail-Server dovecot: POP3(jlbrown):  
Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

My server calls the mailbox file "mbox". Is dovecot expecting it to  
be "inbox"?

Why does it say "mbox: INBOX defaulted to .../INBOX.mbox/inbox"?

This is really frustrating having it act as though it works but no  
emails being read!

Thanks,

James.

On 28/07/2006, at 11:14 AM, James Brown wrote:

> I'm having problems getting dovecot to read my mbox file. I have  
> turned on mail_debug. Log says:
>
> Jul 28 11:03:20 Bordo-Mail-Server dovecot: Dovecot v1.0.rc2  
> starting up
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: pop3-login: Login:  
> user=<jlbrown>, method=PLAIN, rip=192.168.1.10, lip=192.168.1.9
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown): Effective  
> uid=501, gid=501
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown): mbox:  
> data=/Applications/4DWebSTAR/MailboxServer/Mail_DefaultSite/ 
> Mailboxes/jlbrown/INBOX.mbox/:INDEX=/Applications/4DWebSTAR/ 
> MailboxServer/Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox/mbox.index
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown): mbox:  
> INBOX defaulted to /Applications/4DWebSTAR/MailboxServer/ 
> Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox/inbox
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown): mbox:  
> root=/Applications/4DWebSTAR/MailboxServer/Mail_DefaultSite/ 
> Mailboxes/jlbrown/INBOX.mbox, index=/Applications/4DWebSTAR/ 
> MailboxServer/Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox/ 
> mbox.index, inbox=/Applications/4DWebSTAR/MailboxServer/ 
> Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox/inbox
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown):  
> mkdir_parents(/Applications/4DWebSTAR/MailboxServer/ 
> Mail_DefaultSite/Mailboxes/jlbrown/INBOX.mbox/mbox.index/.imap/ 
> INBOX) failed: Not a directory
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown): Couldn't  
> open INBOX: Internal error occurred. Refer to server log for more  
> information. [2006-07-28 11:03:36]
> Jul 28 11:03:36 Bordo-Mail-Server dovecot: POP3(jlbrown): No INBOX  
> for user top=0/0, retr=0/0, del=0/0, size=0
>
> In dovecot.conf my mailbox location is:
>
> default_mail_env = mbox:/Applications/4DWebSTAR/MailboxServer/ 
> Mail_DefaultSite/Mailboxes/%u/INBOX.mbox/:INDEX=/Applications/ 
> 4DWebSTAR/MailboxServer/Mail_DefaultSite/Mailboxes/%u/INBOX.mbox/ 
> mbox.index
>
> Contents of Applications/4DWebSTAR/MailboxServer/Mail_DefaultSite/ 
> Mailboxes/jlbrown/INBOX.mbox/ are:
>
> inbox	(created by dovecot)
> mbox
> mbox.index
> mbox.info
>
> Any suggestions as to what I'm doing wrong?
>
> Thanks,
>
> James.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dovecot.org/pipermail/dovecot/attachments/20060728/69066369/attachment.htm 


More information about the dovecot mailing list