Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Dovecot / Horde Failure

Got problems with your B2 or B3? Share and get helped!
jovisuk
Posts: 65
Joined: 12 Sep 2010, 04:20

Re: Dovecot / Horde Failure

Post 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??
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Dovecot / Horde Failure

Post 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?
jovisuk
Posts: 65
Joined: 12 Sep 2010, 04:20

Re: Dovecot / Horde Failure

Post 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
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Dovecot / Horde Failure

Post 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
jovisuk
Posts: 65
Joined: 12 Sep 2010, 04:20

Re: Dovecot / Horde Failure

Post 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.
Post Reply