Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Connection to IMAP server failed

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
enterprise
Posts: 1
Joined: Wed Jun 05, 2019 12:16 pm

Os: Ubuntu 15x
Web: apache
Connection to IMAP server failed
  • Quote

Post by enterprise » Wed Jun 05, 2019 8:35 pm

Hello everyone,

I get the "Connection to IMAP server failed" error on roundcube when I try to login to a mailbox I created.

I also noticed that I can't start or restart dovecot. I also noticed the error below when I run "service dovecot status"

Code: Select all

dovecot[6186]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 24: Unknown setting: namespace
systemd[1]: dovecot.service: Control process exited, code=exited status=89
systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
Here is my configuration file

/etc/dovecot/dovecot.conf

Code: Select all

protocols = imap pop3
listen = *, ::
base_dir = /var/run/dovecot/
!include conf.d/*.conf

namespace {
    type = private
    separator = /
    prefix =
    inbox = yes

    mailbox Sent {
        auto = subscribe
        special_use = \Sent
    }
    mailbox Drafts {
        auto = subscribe
        special_use = \Drafts
    }
    mailbox Trash {
        auto = subscribe
        special_use = \Trash
    }
    namespace inbox {
	inbox = yes
    }
}
Any assistance is greatly appreciated.

Thanks
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Connection to IMAP server failed
  • Quote

Post by dreiggy » Wed Jun 19, 2019 8:25 pm

Hi,

remove this part from /etc/dovecot/dovecot.conf

Code: Select all

namespace {
    type = private
    separator = /
    prefix =
    inbox = yes

    mailbox Sent {
        auto = subscribe
        special_use = \Sent
    }
    mailbox Drafts {
        auto = subscribe
        special_use = \Drafts
    }
    mailbox Trash {
        auto = subscribe
        special_use = \Trash
    }
    namespace inbox {
	inbox = yes
    }
}
And then restart dovecot: service dovecot restart
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password