[Rspamd-Users] quarantine rule does not work anymore with rspamd 2.4
Didi Kressnig
rspamd at servus.at
Wed Mar 4 10:33:37 UTC 2020
On Mittwoch, 4. März 2020 07:09:16 CET André Peters wrote:
> Also fixed by
> https://github.com/rspamd/rspamd/commit/b936dc801f62e28ef1a6b05ad24de1c885c3b206
> ?
no, i think this is the patch from version 2.3 to 2.4.
and the problem only appear with the default formatter. with email_alert as the formatter
it works as expected.
best & lg,
>
> ------ Originalnachricht ------
> Von: "Didi Kressnig" <rspamd at servus.at>
> An: "User questions" <users at lists.rspamd.com>
> Gesendet: 28.02.2020 12:07:09
> Betreff: [Rspamd-Users] quarantine rule does not work anymore with
> rspamd 2.4
>
> >Hello,
> >
> >in the logs i found the following:
> >
> >2020-02-27 22:32:30 #30393(rspamd_proxy) <eb4ba9>; proxy; lua_metric_symbol_callback: call to (EXPORT_METADATA_QUARANTINE) failed (2): /usr/share/rspamd/plugins/metadata_exporter.lua:309: attempt to index local extra (a nil value); trace: [1]:{/usr/share/rspamd/plugins/metadata_exporter.lua:309 - <unknown> [Lua]}; [2]:{/usr/share/rspamd/plugins/metadata_exporter.lua:595 - <unknown> [Lua]};
> >
> >my configuration looks like this in /etc/rspamd/local.d/metadata_exporter.conf:
> >
> >rules {
> ># This rule sends an e-Mail alert over SMTP containing message metadata
> ># # when it sees a rejected mail from an authenticated user
> > QUARANTINE {
> > backend = "send_mail";
> > smtp = "127.0.0.1";
> > mail_to = "spam at xxx.at";
> > mail_from = "spam at xxx.at";
> > helo = "xxx.at";
> > selector = "is_reject"; # could be "is_spam"
> > formatter = "email_alert";
> > }
> >}
> >
> >has there something changed?
> >
> >thanks in advance.
> >best,
> >
> >--
> >servus.at - institut für kunst & kultur im netz
> >A-4040 Linz, Kirchengasse 4
> >Tel.: +43 732 731209 301
> >
> >
> >
> >--
> >Users mailing list
> >Users at lists.rspamd.com
> >https://lists.rspamd.com/mailman/listinfo/users
>
>
--
servus.at - institut für kunst & kultur im netz
A-4040 Linz, Kirchengasse 4
Tel.: +43 732 731209 301
More information about the Users
mailing list