On 07/08/2014 09:48 PM, ML mail wrote:
Hello,

I would like to run SpamAssassin on my backup MX as well in order to
avoid spam and backscatter. My backup MX will have a similar setup
and configuration as my main MX, that would be
Postfix+amavisd-new+ClamAV+SpamAssassin.


Now I have all my user configuration including SpamAssassin Bayes and
AWL stored in PostgreSQL and my backup MX will have a read-only
replica of that PostgreSQL database. So my plan would be to have SA
on the backup MX to use the Bayes+AWL data from the PostgreSQL in
read-only mode meaning that it would not write any new Bayes+AWL info
but just read it. So my question here is: is it possible to tell SA
through its config to use Bayes+AWL data in read-only mode?

If that's not possible then I was thinking I could still use SA on my
backup MX but I would then disable Bayes+AWL. What do you think?

on your backup MX local.cf set:

use_bayes 1
use_bayes_rules 1
use_learner 0
bayes_auto_learn  0

that will use BAyes in read only mode.

Afaik, this will not control AWL - maybe disable that on the backup MX

Reply via email to