Hi,

        Thanks for the tips... but I found another way... more, err.. generic... What 
i did:
        - install syslog-ng
        - create a "destination" like this:
destination virus { program("multilog t n100 
s1000000 /var/log/qmail/virus"); };

        - create the filter:
        filter f_clamav {program(clamd); };

        - joined them:
log { source(src); filter(f_clamav); destination(virus); };


        you can do this with every daemon that can use syslog :-), but I will look 
into hacking the sources too...

On Saturday 20 March 2004 05:23, Salvatore Toribio wrote:
> At 1:43 -0500 20-03-2004, Asif Iqbal wrote:
> >Christian Lyra wrote:
> >>  Hi all,
> >>
> >>    Is there a way to use qmail-scanner with multilog (from
> >>daemontools package?)
> >>  how?
> >
> >I am looking for the same answer as well
>
> It won't be too dificult, just hack qmail-scanner-queue.pl.
> You can add a subroutine like this:
>
> sub multilog {
>    warn "qmail-scanner $$: $_ \n";
> }
>
> Search for the debug lines you want to send to multilog and duplicate
> them in this way:
>
> &debug("incoming SMTP connection from $smtp_sender");
>
> &multilog ("incoming SMTP connection from $smtp_sender");
>
> It might work... maybe
>
> Salvatore
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Qmail-scanner-general mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

-- 
Christian Lyra
POP-PR - RNP

http://lyra.soueu.com.br
http://wecanstopspam.org

  Thus spake the master programmer: 
  ``It is time for you to leave.'' 
                                                The Tao Of Programing


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to