[Rspamd-Users] rspamd + exim not rewriting subject

Sławomir Dworaczek slawek at tax-net.pl
Sun Sep 24 10:03:42 UTC 2023


hello
how to properly configure rspamd to rewrite subject
Pieces from the configuration, there is information about rewrite subject in two places


neural {
    train {
        learning_rate = 0.010000;
        max_usages = 20;
        max_trains = 1000;
        max_iterations = 25;
    }
    timeout = 20;
}
metric {
    subject = "*** Smiec *** %s";
    actions {
        rewrite_subject = 12;
    }
}
external_relay {
    enabled = false;
}

..............


        whitelist = "/etc/rspamd/antivirus.wl";
        max_size = 20000000;
        patterns {}
    }
}
actions {
    add_header = 6;
    reject = 15;
    rewrite_subject = 12;
    subject = "*** Smiec *** %s";
}
elastic {
    limit = 10;
    import_kibana = false;
    debug = false;
    timeout = 5;
    index_pattern = "rspamd-%Y.%m.%d";
}

In the history panel, I have a lot of emails with the rewrite subject action, but no subject has been changed

regards 
slawek


More information about the Users mailing list