I'm currently planning to proceed with the latest upgrades of iRedMail and iRedAdmin-Pro-MySQL - as I am going through all the necessary steps for preparation, I stumbled across the whole Policyd-Cluebringer-thing. As I started off with iRedMail 0.7.3 I obviously use the 'old' Policyd package (in my case it's version 1.82 within the Debian Squeeze system packages).

My question is: What's the best way to start off with the necessary updates? Right now I would have upgraded to Debian Wheezy to fit the requirements of the later to be executed upgrade to iRedMail 0.8.6 (as Debian Sqeeze support was dropped). But I've read about some dependency problems with Debian Wheezy and Policyd in this forum (http://www.iredmail.org/forum/topic5876 … heezy.html).

As I want a minimized downtime for all of the components (including greylisting etc.) I would like to avoid taking the Policyd service down.

Should I simply go on with upgrading Debian, then upgrading iRedMail (including iRedAPD, Roundcube etc.), then continue with iRedAdmin-Pro-MySQL and afterwards install Cluebringer within the Wheezy environment by hand?

Re: Concerns regarding Debian and Policy/Cluebringer upgrade

We still provide technical support for Debian Squeeze which is running iRedMail, the key is you cannot install the latest iRedMail on it.

Since Debian 7 (Wheezy) doesn't provide Policyd anymore, it's a little hard to upgrade Policyd to Cluebringer.Below is my suggestion, but please do not do it immediately, we still miss some tutorial and/or migration tools.

After upgrading, you have a Debian Squeeze running iRedMail-0.8.6. Now let's upgrade Policyd to Cluebringer.

How to upgrade Debian from Squeeze to Wheezy:

1) Be careful with Dovecot. Debian 6 ships Dovecot-1.2.x, but Wheezy ships Dovecot-2.x. They have many different parameters in dovecot.conf, so you cannot simply upgrade Dovecot package. Please refer to this tutorial to get a working config file for Dovecot-2.x: http://www.iredmail.org/forum/topic4493 … tos-5.html

It's now safe to upgrade Debian 6 to 7 (of course you already have a working config file for Dovecot-2.x). NOTE: You don't have greylisting/whitelist/blacklist/throttling enabled right now since you disabled Policyd in Postfix.

*) Tutorial for Debian is not yet finished, but you can check tutorial for RHEL/CentOS to see how it goes.*) Cluebringer doesn't support throttling by email size of outgoing email, so if you have this kind of throttling in Policyd, you will lose it with Cluebringer.

2.3) Enable Cluebringer in Postfix.

That's the summary.

Addition explanation about Policyd -> Cluebringer upgrade/migration, it's quoted from an email i sent to another iRedMail user:

*) Old iRedMail releases supports only Policyd-1.8. But some Linux/BSD vendersprovides Cluebringer and deprecated Policyd-1.8, so we have to use Cluebringerinstead of Policyd on these distributions. For example, Debian 7, Ubuntu 12.04and later releases, FreeBSD.

At that time, iRedAdmin-Pro supported only Policyd, not Cluebringer.

*) Since iRedMail-0.8.6, almost all Linux/BSD distributions provides Cluebringerand deprecated Policyd (not available in official package repositories), so weswitch to Cluebringer on ALL distributions. and iRedAdmin-Pro supportsboth Policyd and Cluebringer.

*) Cluebringer is a completely rewritten program by Policyd developer(s),it provides (almost) the same features as Policyd, but they use different SQLtables. Cluebringer is more flexible than Policyd (or you can say, complex),it works different way than Policyd internally. Even Policyd/Cluebringer developercannot provide an official upgrade tutorial (if you found one, please do let me know).

*) The good news is, we pre-defined some policies in Cluebringer to achieveblacklist/whitelist/greylisting/throttling related features. Since we all iRedMail users havethe same policies in Cluebringer, it should be very easy to upgrade from Policyd.I'm working on this, upgrade tutorial is about 50% done, we still need a tutorial orshell/python script to migrate Policyd database.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?