[clamav-users] Scanning emails

Ralph Seichter abbot at monksofcool.net
Sun Mar 29 09:35:35 EDT 2020


* Bev Clues via clamav-users:

> Can you tell me if clamd / clamdscan will scan email attachments as
> well as the email file.

Clamdscan will scan whatever you pass as an argument. However, with
email it is common practice to have additional software like Amavis
(https://gitlab.com/amavis/amavis) that splits mail into its MIME parts,
including attachments, and then call ClamAV to check the segments.

I can heartily recommend using Amavis plus ClamAV instead of invoking
clamdscan some custom fashion. Every popular Linux distribution should
have Amavis pre-packaged.

-Ralph


More information about the clamav-users mailing list