1

Topic: Install webmail Roundcube after the server installed.

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello, I'm wanting to install Roundcube on the server. I followed the recommendations of this link and I could not install.

https://forum.iredmail.org/topic10860-i … ional.html

Can you help me?


Result after the bash file is running:

-------------------------------------------------------------------------------------------------------------------------------------------

root@srv-mx1:~/iRedMail-0.9.7# bash iRedMail.sh
[ INFO ] Checking configuration file: /root/iRedMail-0.9.7/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail-0.9.7/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.7/runtime/install.status.
[ INFO ] Add apt repo for SOGo: https://packages.inverse.ca
[ INFO ] Import apt key (0x810273C4) for SOGo repo (https://packages.inverse.ca).
Executing: /tmp/tmp.NXQAzNqcJj/gpg.1.sh --keyserver
keys.gnupg.net
--recv-key
0x810273C4
gpg: requesting key 810273C4 from hkp server keys.gnupg.net
gpg: key 810273C4: "Inverse Support (package signing) <support@inverse.ca>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
[ INFO ] Resynchronizing the package index files (apt-get update) ...
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:4 https://packages.inverse.ca/SOGo/nightly/3/ubuntu xenial InRelease [2653 B]
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 2653 B in 0s (3091 B/s)
Reading package lists... Done
[ INFO ] Installing package(s): postfix postfix-pcre mariadb-client mariadb-server postfix-mysql libdbd-mysql-perl nginx-full php-fpm dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip-full rpm ripole libmail-spf-perl unrar-free pax lrzip sogo sogo-activesync sope4.9-gdl1-mysql python-sqlalchemy python-dnspython python-mysqldb python-pymysql python-jinja2 python-netifaces python-webpy python-beautifulsoup python-lxml python-pycurl uwsgi uwsgi-plugin-python python-bcrypt fail2ban bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version (2.2.52-3).
amavisd-new is already the newest version (1:2.10.1-2ubuntu1).
bzip2 is already the newest version (1.0.6-8).
cpio is already the newest version (2.11+dfsg-5ubuntu1).
cron is already the newest version (3.0pl1-128ubuntu2).
libcrypt-openssl-rsa-perl is already the newest version (0.28-2build2).
libmail-dkim-perl is already the newest version (0.40-1).
libmail-spf-perl is already the newest version (2.9.0-4).
logwatch is already the newest version (7.4.2-1ubuntu1).
pax is already the newest version (1:20151013-1).
python-dnspython is already the newest version (1.12.0-1).
python-jinja2 is already the newest version (2.8-1).
python-lxml is already the newest version (3.5.0-1build1).
python-mysqldb is already the newest version (1.3.7-1build2).
python-netifaces is already the newest version (0.10.4-0.1build2).
python-pycurl is already the newest version (7.43.0-1ubuntu1).
python-sqlalchemy is already the newest version (1.0.11+ds1-1ubuntu2).
spamassassin is already the newest version (3.4.1-3).
unzip is already the newest version (6.0-20ubuntu1).
altermime is already the newest version (0.3.10-7).
arj is already the newest version (3.10.22-14).
cabextract is already the newest version (1.6-1).
fail2ban is already the newest version (0.9.3-1).
liblz4-tool is already the newest version (0.0~r131-2ubuntu2).
lrzip is already the newest version (0.621-1).
lzop is already the newest version (1.03-3.2).
nomarch is already the newest version (1.4-3).
p7zip-full is already the newest version (9.20.1~dfsg.1-4.2).
python-bcrypt is already the newest version (2.0.0-2build1).
python-beautifulsoup is already the newest version (3.2.1-1).
python-webpy is already the newest version (1:0.37+20120626-1).
ripole is already the newest version (0.2.0+20081101.0215-1).
rpm is already the newest version (4.12.0.1+dfsg1-3build3).
tofrodos is already the newest version (1.7.13+ds-2ubuntu1).
unrar-free is already the newest version (1:0.0.1+cvs20140707-1).
zoo is already the newest version (2.10-28).
bsdutils is already the newest version (1:2.27.1-6ubuntu3.4).
clamav-daemon is already the newest version (0.99.4+addedllvm-0ubuntu0.16.04.1).
clamav-freshclam is already the newest version (0.99.4+addedllvm-0ubuntu0.16.04.1).
dovecot-imapd is already the newest version (1:2.2.22-1ubuntu2.7).
dovecot-managesieved is already the newest version (1:2.2.22-1ubuntu2.7).
dovecot-pop3d is already the newest version (1:2.2.22-1ubuntu2.7).
dovecot-sieve is already the newest version (1:2.2.22-1ubuntu2.7).
patch is already the newest version (2.7.5-1ubuntu0.16.04.1).
postfix is already the newest version (3.1.0-3ubuntu0.3).
postfix-mysql is already the newest version (3.1.0-3ubuntu0.3).
postfix-pcre is already the newest version (3.1.0-3ubuntu0.3).
python-pymysql is already the newest version (0.7.2-1ubuntu1).
dovecot-lmtpd is already the newest version (1:2.2.22-1ubuntu2.7).
dovecot-mysql is already the newest version (1:2.2.22-1ubuntu2.7).
libdbd-mysql-perl is already the newest version (4.033-1ubuntu0.1).
mariadb-client is already the newest version (10.0.34-0ubuntu0.16.04.1).
mariadb-server is already the newest version (10.0.34-0ubuntu0.16.04.1).
nginx-full is already the newest version (1.10.3-0ubuntu0.16.04.2).
php-fpm is already the newest version (1:7.0+35ubuntu6.1).
uwsgi is already the newest version (2.0.12-5ubuntu3.1).
uwsgi-plugin-python is already the newest version (2.0.12-5ubuntu3.1).
sogo is already the newest version (3.2.10.20180225-1).
sogo-activesync is already the newest version (3.2.10.20180225-1).
sope4.9-gdl1-mysql is already the newest version (4.9.r1664.20180207).
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
< SKIP > Function: after_package_installation.

********************************************************************
* Start iRedMail Configurations
********************************************************************
< SKIP > Function: generate_ssl_keys.
< SKIP > Function: add_required_users.
< SKIP > Function: web_server_config.
< SKIP > Function: mysql_setup.
< SKIP > Function: postfix_setup.
< SKIP > Function: dovecot_setup.
< SKIP > Function: clamav_config.
< SKIP > Function: amavisd_config.
< SKIP > Function: sa_config.
< SKIP > Function: iredapd_setup.
< SKIP > Function: iredadmin_setup.
< SKIP > Function: fail2ban_config.
< SKIP > Function: sogo_setup.
< SKIP > Function: cleanup.

-------------------------------------------------------------------------------------------------------------------------------------------

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Install webmail Roundcube after the server installed.

You need to update file "iRedMail-0.9.7/config" manually, add one line:

export USE_ROUNDCUBE=YES

Then re-run the iRedMail installer.

3

Re: Install webmail Roundcube after the server installed.

Hello, I was doing everything right until I got an error because a database with the same name already existed.

[ INFO ] Configure Roundcube webmail.
ERROR 1007 (HY000) at line 2: Can't create database 'roundcubemail'; database exists
< SKIP > Function: sogo_setup.

How do I configure the database? Thank you.

4

Re: Install webmail Roundcube after the server installed.

Hello, I have modified the runtime / install.status file as shown in this tutorial and it worked. Thank you.

https://forum.iredmail.org/topic5976-ir … dcube.html