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

Fresh Install Vesta cant connect to roundcube

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
17 posts
  • Previous
  • 1
  • 2
Fantom3D
Posts: 2
Joined: Wed Aug 24, 2016 5:31 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by Fantom3D » Mon Jul 16, 2018 5:00 pm

FrazzledPenguin wrote: ↑
Sun Jul 15, 2018 6:18 pm
I've resolved my issue. I'm not sure why these two installs were different but there's a good chance that I used two slightly different install options. Either way, I thought I'd post what happened just in case someone else bumps up against this edge case.

The error I was getting was:

Code: Select all

Error: User initialization failed: namespace configuration error: Duplicate namespace prefix: ""
I compared my working VestaCP Ubuntu 16.04.4 install to my new (non-working dovecot) Ubuntu 16.04.4 install. The default namespace found in /etc/dovecot/dovecot.conf already included the inbox = yes option so there was no need to include this elsewhere (at least in my scenario). Also, the version of Dovecot in both installs is 2.2.22, and yes it is functional despite past comments. VestaCP is functional/compatible with Ubuntu 16.04.4.

When comparing the files in each, I noticed that the working install did not have the file:

Code: Select all

/etc/dovecot/conf.d/15-mailboxes.conf
This file looks to be declaring a new namespace "inbox". The settings appear to a re-statement of what is in the default namespace in /etc/dovecot.conf file and shouldn't be needed. I presume this is why dovecot was giving a duplicate namespace "" error. The "" being the default namespace. I removed this file (after backing it up), and restarted dovecot

Code: Select all

systemctl restart dovecot
and I was now able to log in via roundcube.

I hope this helps someone else should they bump into this edge case.
Thank you! I was looking for a solution for few hours! you are the best :)
Top

FrazzledPenguin
Posts: 6
Joined: Tue Apr 10, 2018 4:55 pm

Os: Ubuntu 15x
Web: apache
Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by FrazzledPenguin » Thu Jul 19, 2018 2:22 am

I'm very happy the information was able to help someone. :)
Top

luca.dex
Posts: 1
Joined: Sun Aug 05, 2018 1:24 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by luca.dex » Sun Aug 05, 2018 1:29 pm

To solve the problem I simply edited dovecot.conf from this:

Code: Select all

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

    ...
}
into:

Code: Select all

...
namespace {
    type = private
    separator = /
    prefix = mail/
    inbox = yes
    list = no
    
    ...
}
Ciao
Top

khel
Posts: 12
Joined: Fri Apr 25, 2014 11:41 am

Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by khel » Mon Oct 08, 2018 8:09 pm

FrazzledPenguin wrote: ↑
Sun Jul 15, 2018 6:18 pm
I've resolved my issue. I'm not sure why these two installs were different but there's a good chance that I used two slightly different install options. Either way, I thought I'd post what happened just in case someone else bumps up against this edge case.

The error I was getting was:

Code: Select all

Error: User initialization failed: namespace configuration error: Duplicate namespace prefix: ""
I compared my working VestaCP Ubuntu 16.04.4 install to my new (non-working dovecot) Ubuntu 16.04.4 install. The default namespace found in /etc/dovecot/dovecot.conf already included the inbox = yes option so there was no need to include this elsewhere (at least in my scenario). Also, the version of Dovecot in both installs is 2.2.22, and yes it is functional despite past comments. VestaCP is functional/compatible with Ubuntu 16.04.4.

When comparing the files in each, I noticed that the working install did not have the file:

Code: Select all

/etc/dovecot/conf.d/15-mailboxes.conf
This file looks to be declaring a new namespace "inbox". The settings appear to a re-statement of what is in the default namespace in /etc/dovecot.conf file and shouldn't be needed. I presume this is why dovecot was giving a duplicate namespace "" error. The "" being the default namespace. I removed this file (after backing it up), and restarted dovecot

Code: Select all

systemctl restart dovecot
and I was now able to log in via roundcube.

I hope this helps someone else should they bump into this edge case.

Thanks
Top

amrithaakarthi
Posts: 2
Joined: Thu Jul 19, 2018 2:59 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by amrithaakarthi » Fri Nov 02, 2018 6:21 am

FrazzledPenguin thank you verymuch

it solved the problem
Top

cottager
Posts: 19
Joined: Mon Feb 06, 2017 8:10 pm

Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by cottager » Thu Dec 27, 2018 2:08 am

I wanted to mention I hit this on ubuntu 16.04 as it's deployed on ovh. imap wasn't connecting in an email client, and roundcube failed as well. I found this thread, removed 15-mailboxes.conf, restarted dovecot, and solved. Thanks for posting your information here.
Top

Aporie
Posts: 8
Joined: Sat Dec 30, 2017 8:07 pm

Re: Fresh Install Vesta cant connect to roundcube
  • Quote

Post by Aporie » Wed Feb 27, 2019 8:17 am

I was getting this issue : The reported error was “Failed to issue NAMESPACE: IMAP server said BYE: Internal error occurred. Refer to server log for more information.”.

Renaming 15-mailboxes.conf in 15-mailboxes.conf.bkp did the trick.

Thanks
Top


Post Reply
  • Print view

17 posts
  • Previous
  • 1
  • 2

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