Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14155

iRedAdminPro settings.py

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- iRedAdminPro: iRedAdmin-Pro-SQL-2.1.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: ubuntu 14-04 LTS
- Related log if you're reporting an issue:
====

I am doing a new install on a clean ubuntu LAMP server, following the installation instructions.

I don't understand the following instructions:


Create MySQL database: iredadmin

mysql -uroot -p
mysql> CREATE DATABASE iredadmin DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql> USE iredadmin;
mysql> SOURCE /usr/share/apache2/iredadmin/docs/samples/iredadmin.sql;

I get an error msg that the database already exists.
it looks like the install script has already created the database.

Do I still need to execute the following command:

mysql> SOURCE /usr/share/apache2/iredadmin/docs/samples/iredadmin.sql;

Is this a new password that I have to create and assign to the iredadmin user?

mysql -uroot -p
mysql> GRANT SELECT,INSERT,UPDATE,DELETE ON iredadmin.* TO iredadmin@localhost IDENTIFIED BY 'secret_passwd';
mysql> FLUSH PRIVILEGES;

ireadadmin settings.py

Which settings do I have to update with the correct values?

Should I create new passwords for the following users and put it in the settings.py file?


  iredadmin_db_password = 'password'
  vmail_db_password = 'password'
  policyd_db_password = 'password'
  amavisd_db_password = 'password'

regards
jagter6


Viewing all articles
Browse latest Browse all 14155