1

Topic: Policyd to Cluebringer 0.8.6 upgrade tutorial.

==== Required information ====
- iRedMail version: 0.8.5 - 5
- Store mail accounts in which backend (LDAP/):
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue:
====

Hello.

I hope everyone had a good holiday.

I am curious when the official upgrade tutorial will be out for 0.8.6 to upgrade Policyd to Cluebringer?

2

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Working on it, still need some time. Draft document:
http://www.iredmail.org/wiki/index.php? … luebringer

3

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

ZhangHuangbin wrote:

Working on it, still need some time. Draft document:
http://www.iredmail.org/wiki/index.php? … luebringer


Looking good!  Please advise when it is finished.

4

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Zhang, it looks like the Centos portion is done.

Is that section ready to go?

5

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

I'm out of office for 2 days, will continue working on this later.

Currently, Policyd supports subnet like "192.168.1.%", but Cluebringer doesn't, so you will lose these records after migration.

6 (edited by annonman 2014-01-18 01:50:40)

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Zhang wrote:

I'm out of office for 2 days, will continue working on this later.


Thanks Zhang.

7

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Oh, thanks for your reminder. I'm working on a Python script to convert Policyd data to SQL files. Currently, it can convert several SQL tables:

- whitelist, whitelist_dnsname, whitelist_sender
- blacklist, blacklist_dnsname, blacklist_sender

Working on converting throttling. HELO records should be done soon.

8

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Thanks Zhang,

I will be watching.

9 (edited by annonman 2014-01-18 15:33:11)

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

As far as the "upgrade" from Policyd to Cluebringer on Centos:

You might want to mention:

1-add Cluebringer databse to mysql backup script

2-add tutorial for Web Gui that Cluebringer offers

3-remove the reference to Policyd deamon in Postfix main.cf
                        (smtpd_recipient_restrictions = ...check_policy_service inet:127.0.0.1:10031...)

:>

10

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Thanks for your feedback.

annonman wrote:

1-add Cluebringer databse to mysql backup script

Fixed.

annonman wrote:

2-add tutorial for Web Gui that Cluebringer offers

Well, a terrible web interface. I will try it later.

annonman wrote:

3-remove the reference to Policyd deamon in Postfix main.cf (smtpd_recipient_restrictions = ...check_policy_service inet:127.0.0.1:10031...)

Already mentioned in tutorial.

11 (edited by annonman 2014-01-20 12:18:26)

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

I also believe the new database credentials need to be set in /var/www/iredadmin/settings.py to reflect the [new] Cluebringer database.  (open source iRedAdmin)

around line #86....

policyd_db_host = "127.0.0.1"
policyd_db_port = "3306"
policyd_db_name = "cluebringer"                 <-----  here
policyd_db_user = "cluebringer"                   <-----  here
policyd_db_password = "cluebringer_db_password"    <-----  here

12

Re: Policyd to Cluebringer 0.8.6 upgrade tutorial.

Thanks for your reminder. I updated wiki tutorial moment ago:
http://www.iredmail.org/wiki/index.php? … r_database

NOTE: Since iRedAdmin open source edition doesn't have Policyd/Cluebringer/Amavisd support, so i specify iRedAdmin-Pro in the wiki.