[Exim] local_scan for an virus check.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: David Broome
Data:  
Para: exim-users
Assunto: [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