hardware / mailserver

:warning: UNMAINTAINED - Simple and full-featured mail server using Docker
https://store.docker.com/community/images/hardware/mailserver
MIT License
1.29k stars 322 forks source link

Configuring Rspamd for custom subject rewriting via the web ui #357

Closed gotjoshua closed 5 years ago

gotjoshua commented 5 years ago

Classification

I am trying to follow the instructions at the bottom of the Rspamd Metrics Docs.

And I added the following configuration to: /var/mail/rspamd/rspamd_dynamic (via the rspamd web ui):

    {
        "metric": "default",
        "subject": "[* SPAM>9 *] %s",
        "actions": [
            {
                "name": "rewrite subject",
                "value": 9.0,
                "subject": "[* SPAM>9 *] %s"
            },

The subject rewrite is happening, but not using the custom format.

Any advice?

hardware commented 5 years ago

Please, ask any question about rspamd here : https://rspamd.com/support.html