[Rspamd-Users] Regarding Malicious File blocking using hashes in rspamd

Riccardo Alfieri riccardo.alfieri at spamteq.com
Tue Jul 14 11:29:26 UTC 2020

On 14/07/20 12:52, Venkata Ganesh Raju Malyala wrote:

> Hello everyone,
> Can someone advise blocking malicious files/ attachments in rspamd if we
> have a set of malicious file hashes.

you can take inspiration from the function called "check_file_callback" 

Depending on the type of the hash you have you'll probably need to 
adjust the "local filehash" line #103

Best regards,
Riccardo Alfieri

Spamhaus Technology

More information about the Users mailing list