Hello,

clamav scans for  viruses/malware/etc and it's not designed for what you need.
If you already have implemented SpamAssassin you can use that one for your purpose and/or other regexp milter.


Sent from my Samsung Galaxy smartphone.


-------- Original message --------
From: PGNet Dev via clamav-users <clamav-users@lists.clamav.net>
Date: 5/28/20 23:07 (GMT+02:00)
To: ClamAV users ML <clamav-users@lists.clamav.net>
Cc: PGNet Dev <pgnet.dev@gmail.com>, David Beecher <dbeecher@tekops.com>
Subject: Re: [clamav-users] milter

On 5/28/20 12:39 PM, David Beecher via clamav-users wrote:
> I need something that is very fast and lightweight and basically if it
> sees the word "excelsior" in the subject line, it rejects the message.

I'm not clear if/why clamav needs to be part of your solution.

If it doesn't this

  https://www.benzedrine.ch/milter-regex.html

works very nicely here for early/simple/fast match & reject.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml