20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
|
user_scores_dsn DBI:Pg:dbname={{ spamassassin_db_name }};host={{ spamassassin_db_host }};port={{ spamassassin_db_port }}
|
||
|
user_scores_sql_username {{ spamassassin_db_user }}
|
||
|
user_scores_sql_password {{ spamassassin_db_pwd }}
|
||
|
{% if spamassassin_use_bayes and spamassassin_bayes_sql_db %}
|
||
|
bayes_store_module Mail::SpamAssassin::BayesStore::PgSQL
|
||
|
bayes_sql_dsn DBI:Pg:dbname={{ spamassassin_db_name }};host={{ spamassassin_db_host }};port={{ spamassassin_db_port }}
|
||
|
bayes_sql_username {{ spamassassin_db_user }}
|
||
|
bayes_sql_password {{ spamassassin_db_pwd }}
|
||
|
{% endif %}
|
||
|
{% if spamassassin_auto_whitelist and spamassassin_auto_whitelist_sql_db %}
|
||
|
# awl should be deprecated in favor of txrep, but the perl plugin is missing
|
||
|
#loadplugin Mail::SpamAssassin::Plugin::TxRep
|
||
|
#txrep_factory Mail::SpamAssassin::SQLBasedAddrList
|
||
|
loadplugin Mail::SpamAssassin::Plugin::AWL
|
||
|
auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
|
||
|
user_awl_dsn DBI:Pg:dbname={{ spamassassin_db_name }};host={{ spamassassin_db_host }};port={{ spamassassin_db_port }}
|
||
|
user_awl_sql_username {{ spamassassin_db_user }}
|
||
|
user_awl_sql_password {{ spamassassin_db_pwd }}
|
||
|
{% endif %}
|