[Rspamd-Users] Rspamd does not reject virus mails

Ralf Kania ralf at lx-work.de
Thu Apr 10 07:19:01 UTC 2025


Hi community,

 

I am using rspamd version 3.11.1 and it works as expected for spam mails.

Under local.d/worker-proxy.inc I have activated the quarantine option:

 

discard_on_reject = false; # Discard message instead of rejection

quarantine_on_reject = true; # Tell MTA to quarantine rejected messages

The rejected spam mails will moved to postfix hold queue.

That is fine for me.

But virus mails will not be rejected, and will be delivered to my mail box.

Only when I set "discard_on_reject = true" than they will be discarded but
spam mails also

and not moved to hold queue.

In this case I see in postfix mail.log the milter-discard messages.

Is it possible to move spam mails to hold queue and reject virus mails?

 

Thanks in advance.

 

Regards

Ralf



More information about the Users mailing list