[Rspamd-Users] 1.9 question on local.d/actions.conf

B. Reino reinob at bbmk.org
Sun Mar 31 11:44:56 UTC 2019


On Sun, 31 Mar 2019, Sophie Loewenthal wrote:

> Hi,
>
> My old actions.conf no longer works with rspamd, and it won’t start.
> I tried these different configs and all broke rspamd
>
> # cat actions.conf
> actions {
> reject = 14;
> add_header = 6;
> rewrite_subject = 6;
> subject = "***SPAM*** %s";
> greylist = null;
> }
>
> # cat ~/actions.conf
> reject = 14;
> add_header = 6;
> rewrite_subject = 6;
> subject = "***SPAM*** %s";
> greylist = null;
>
> I looked at https://rspamd.com/doc/configuration/metrics.html but didn’t really get it.
>
> What is the new format?
>

My /etc/rspamd/local.d/actions.conf looks like this:

reject = 50;
add_header = 6;
greylist = 4;

and rspamd works fine.

I also have a /etc/rspamd/local.d/metrics.conf with:

symbol "SUBJ_EXCESS_BASE64" {
         score = 0.0;
}

symbol "FROM_EXCESS_BASE64" {
         score = 0.0;
}

..

and (AFAICT) works fine.

I'm using rspamd 1.9.0-3~stretch, from the rspamd.com/apt-stable 
repository.

What error message do you get in the log?

Good luck,
Bernardo.


More information about the Users mailing list