[Exim] local_scan for an virus check.

Top Page
Delete this message
Reply to this message
Author: David Broome
Date:  
To: exim-users
Subject: [Exim] local_scan for an virus check.
Hello,

I would like you to write up a exim local_scan function to do virus checking
in the SMTP datastream, then reject with a 500 error and a custom message with
the found virus information.

An example of another program using this function is marc's SA.

<http://marc.merlins.org/linux/exim/sa.html>

The virus scanning can be done by SOPHIE which give a infected or not responce.
It's very fast by using the virus signatures in memory and interfacing via a
socket (/var/run/sophie) and returns a '0' if clean and '1:virusname' if
infected.
<http://www.vanja.com/tools/sophie/>

Has something like this been done before?

Does anyone have some sample (even pseudo) code.

This speak to phillip as well to consider dman's comments RE the flexability of
local_scan.

Would "Dynamic loading of local_scan" be possible?

Dave,
--
David Broome   Programmer-Analyst.FineArts.UVic.CA  /BSc /CNA /MCP
250.721-6307   dbroome@???                FIA 221