[clamav-users] Any way to force scan as mail?

G.W. Haywood clamav at jubileegroup.co.uk
Tue Feb 28 17:16:00 UTC 2017


Hi there,

On Tue, 28 Feb 2017, Carlos Velasco wrote:

> Is there any way to force clamscan to treat the file passed as a mail?

Yes, for example you could turn it into a mail message.  There are
numerous tools which can do that, I would suggest something like
'formail'.

> Some days ago I stepped into a problem where ClamAV was not
> detecting a virus attached in an email.  I narrowed the problem to
> Clam not detecting the file passed as a mail. I think this is
> because mail file has too many headers.

Your conjecture is incorrect.  Neither of those things is a properly
formed mail message.  I'd describe them as jumbled up collections of
bits and pieces of things which might possibly once have been parts of
mail messages.

-- 

73,
Ged.



More information about the clamav-users mailing list