[Rspamd-Users] Rewrite subject

G.W. Haywood rspamd at jubileegroup.co.uk
Thu Sep 14 09:14:03 UTC 2023


Hi there,

On Thu, 14 Sep 2023, Sławomir Dworaczek via Users wrote:

> how to properly configure rspamd to rewrite message subjects.
> All the advice I found on the Internet does not work

It would be good if you could tell us

(1) where you have read the things that do not work;
(2) what those things were;
(3) exactly what you did when you tried them;
(4) what version of rspamd you are using;
(5) how you installed it;
(6) what configuration you have done;
(7) on what system you are using it;
(8) how long you have been using it; and
(9) what successes you have had in any configuration.

This might save us all a lot of time.

> I have it in override.d/metrics.conf
>
> subject = "*** Probably SPAM *** %s";
> actions {
> rewrite_subject = 12;
> }
>
> in the logs in the action section I have rewrite subject and the messages do 
> not have a changed subject anyway

Did you run

rspamadm configdump

to see what your configuration provides to rspamd and

rspamadm configtest

to see what rspamd makes of it?

See

https://rspamd.com/doc/quickstart.html

-- 

73,
Ged.


More information about the Users mailing list