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

Bug in install script

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
R0N
Posts: 1
Joined: Wed Feb 06, 2019 6:40 am

Os: Ubuntu 17x
Web: nginx + php-fpm
Bug in install script
  • Quote

Post by R0N » Wed Feb 06, 2019 6:49 am

Hi everyone,

I installed VestaCP with the automatic installer on Ubuntu 18.04 but got some errors on Roundcube.
The password is not set correctly in the configuration files and Dovecot has a bad config by default.

When connecting to Roundcube I got the database error (seen that here more on the forum) so wrote some bash lines to fix it all..

s=`cat /var/lib/roundcube/config/db.inc.php|grep db_dsnw`
A="$(cut -d':' -f3 <<<"$s")"
B="$(cut -d'@' -f1 <<<"$A")"
sed -i "/dbpass=/s/=.*/='$B';/" /etc/roundcube/debian-db.php
rm -f /etc/dovecot/conf.d/15-mailboxes.conf
systemctl restart dovecot

The password is set correctly in db.inc.php so I grab it from there and paste it in the debian-db.php
remove 15-mailboxes.conf and restart dovecot.
Top


Post Reply
  • Print view
1 post • 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
 

 

cron

Login  •  Register

I forgot my password