[Rspamd-Users] Rspamd does not reject virus mails

Danjel Jungersen danjel at jungersen.dk
Thu Apr 10 12:05:03 UTC 2025


> 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



More information about the Users mailing list