[Exim] Multiple local_scan's?

Top Pagina
Delete this message
Reply to this message
Auteur: Peter N Lewis
Datum:  
Aan: exim-users
Oude Onderwerpen: [Exim] Virus Scanner
Onderwerp: [Exim] Multiple local_scan's?
Is there plans for supporting multiple local_scan's?

I guess this combined with the dynamic loading would probably be the
ideal way, then you could just have a directory for them.

The issue for me was getting both sa-exim/spamassassin and
exiscan/clamscan working. I did it without much effort by renaming
sa-exim's local_scan.* to sa-exim.*, and renaming the function to
sa_exim_local_scan, and then adding to the front of the exiscan
local_scan

debug_printf("exiscan: run sa-exim\n");

retvalue = sa_exim_local_scan( fd, return_text);

   if ( retvalue != LOCAL_SCAN_ACCEPT ) {
     return retvalue;
   }
   // return_text is lost
   lseek( fd, 17 , SEEK_SET);


retvalue = LOCAL_SCAN_ACCEPT;

basically just call sa_exim_local_scan and then seek back to byte 17
(actually, not necessary in the case of exiscan, but anyway).

So partly, this is a request for this to be easier and/or if it is,
how to do it, and partly this is information for anyone else who
wants to to setup sa-exim and exiscan together.

Enjoy,
    Peter.


--
<http://www.interarchy.com/> <http://download.interarchy.com/>