On Sun, 21 Dec 2025, Daniel Colquitt via clamav-users wrote:

From the man page for clamav-milter.conf <https://linux.die.net/man/5/clamav-milter.conf>

Whitelist STRING
This option specifies a file which contains a list of basic POSIX regular expressions. Addresses (sent to or from - see below) matching these regexes will not be scanned. Optionally each line can start with the string "From:" or "To:" (note: no whitespace after the colon) indicating if it is, respectively, the sender or recipient that is to be whitelisted. If the field is missing, "To:" is assumed. Lines starting with #, : or ! are ignored.

However, with the whitelist set as defined in my original message, emails from [email protected] are still scanned and, indeed, flagged as infected. I would like messages from emails that match the whitelist to be excluded from the scan.

My first thought would be to whitelist those emails in your MTA (mailserver) so that it does not pass them to ClamAV.
Which MTA are you using ?

--
Andrew C. Aitchison                      Kendal, UK
                   [email protected]
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to