Tomasz Kojm wrote:


Try to define some additional rules in libclamav/filetypes.c or

That was my first attempt. Nigel Horne objected that this would have to be subject to regression test; are there regression test files available?


Here's the thread:

http://lurker.clamav.net/thread/20050225.220550.1be0bbe5.en.html

add dummy headers to mail files before passing them to clamd.


The whole point is to avoid rewriting the file (for performance reasons). To recap, I am trying to integrate clamd into an MTA (qpsmtpd) and I already have a file which contains only the body of the message, so if I can scan that without rewriting, it means the SMTP transaction takes less time.


I don't want to mess with the system, but there are indeed times when the application calling libclamav already knows that a given file is something specific, so it should be possible to override the automated scanning.

John

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to