Page 2 of 2

Re: Dovecot / Horde Failure

Posted: 29 Nov 2010, 17:26
by jovisuk
Ok, so have opened up the dovecot.conf file and found that under protocols there was nothing after the =

So I edited it to be:

protocols = imap imaps

And now I can log onto the webmail interface, it's not the same as it was before, the folder list is a mess but at least I am logged in.

I think when removing the certificates the dovecot.conf file got corrupted or wiped almost??

Re: Dovecot / Horde Failure

Posted: 29 Nov 2010, 17:37
by Ubi
not the removing, but the reconfig i guess

here's my file:

Code: Select all

## Dovecot configuration file
protocols = imap imaps
##
## Logging
##
log_timestamp = "%Y-%m-%d %H:%M:%S "

info_log_path = /tmp/testlog.log
verbose_ssl = yes
auth_debug=yes
mail_debug=yes


##
## SSL settings
##
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
##
## Mailbox locations and namespaces
##
mail_location = maildir:~/Mail
mail_privileged_group = mail
##
## IMAP specific settings
##
protocol imap {
}
##
## POP3 specific settings
##
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
##
## MANAGESIEVE specific settings
##
protocol managesieve {
}
##
## Authentication processes
##
auth default {
  mechanisms = plain
  passdb pam {
  }
  userdb passwd {
  }
  user = root
}
##
## Dictionary server settings
##
dict {
}
##
## Plugin settings
##
plugin {
}

so... it all works now?

Re: Dovecot / Horde Failure

Posted: 29 Nov 2010, 18:28
by jovisuk
I've updated the dovecot.conf file similar to yours,

The only part that was missing was:

mail_location = maildir:~/Mail
mail_privileged_group = mail

I've added this in and now the mails are in the folders as they should be, there are some extra folders in the list:

Inbox (17/25)
.Account
.Drafts
.INBOX.Sent
.INBOX.Trash
.Sent
.Trash
cur
dovecot-uidlist
dovecot-uidvalidity
dovecot-uidvalidity.4cd94261
dovecot.index.cache
dovecot.index.log
new
subscriptions
Virtual Folders

The original ones were:

INBOX
ACCOUNT
DRAFTS
SENT
TRASH

Not sure where the extra's came from but I'm sure I can remove these and get the folder list back to normal.

Thanks for the help

Re: Dovecot / Horde Failure

Posted: 30 Nov 2010, 04:17
by Ubi
Well, before you changed the mail_location, dovecot was using MBOX format, which explains the 5 files. Then you told it to use Maildir format, which uses those new, cur etc folders. So all is as should be. DO NOT REMOVE THEM, or dovecot will crash, and they'll get recrreated when the first incoming mail arrives anyway (because postfix uses maildir as well)

ubi

Re: Dovecot / Horde Failure

Posted: 30 Nov 2010, 04:21
by jovisuk
Yes, I have not removed the folders - thought I'd leave them as it's only my account which has been affected since I was the only account logged in before changing Mailbox locations.

All other accounts are working fine an no logging errors since AFP has been disabled.