[Rspamd-Users] Rspamd does not reject virus mails

Ralf Kania ralf at lx-work.de
Thu Apr 10 14:09:23 UTC 2025


Hello Danjel,

when you set the option
quarantine_on_reject = true;
Than the spam mails will not rejected. They will be moved to the postfix hold queue.
Afterwards you can move it via a script to /var/quarantine as example to check false positives.

Regards
Ralf

-----Ursprüngliche Nachricht-----
Von: Users <users-bounces at lists.rspamd.com> Im Auftrag von Danjel Jungersen via Users
Gesendet: Donnerstag, 10. April 2025 14:05
An: users at lists.rspamd.com
Cc: Danjel Jungersen <danjel at jungersen.dk>
Betreff: Re: [Rspamd-Users] Rspamd does not reject virus mails

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

I don't know about the hold part.

I put spam in a junk folder in the users mailbox.

But I reject virus using rspamd and clamav.

In:
/etc/rspamd/local.d/antivirus.conf

I have:
clamav {
  attachments_only = false;
  symbol = "CLAM_VIRUS";
  type = "clamav";
  action = "reject";
  servers = "/var/run/clamav/clamd.ctl";
  retransmits = 5;
  timeout = 60;
}


:-)
Danjel

-- 
Users mailing list
Users at lists.rspamd.com
https://lists.rspamd.com/mailman/listinfo/users



More information about the Users mailing list