On Thursday 30 March 2006 15:34, Nigel Horne wrote:

>         smfi_setdbg(6);

It was necessary to tell me, that 

[49156] cur 0 new 1 nextmask 2
[49156] got cmd 'D' len 148
[49156] cur 1 new ffffffff nextmask 2004
[49156] got cmd 'C' len 42
[49156] cur 1 new 2 nextmask 2004
[49156] got cmd 'D' len 1

is a libmilter debug. :-(
I think that there should be no communication between syslog and log 
to file. 

I replace logVerbose to syslogVerbose at all clamav-milter and 
replace near code to


        if(cfgopt(copt, "LogVerbose")) {
                logVerbose = 1;
#if     ((SENDMAIL_VERSION_A > 8) || ((SENDMAIL_VERSION_A == 8) && 
(SENDMAIL_VERSION_B >= 13)))
                        smfi_setdbg(6);
#endif
        }

        if(cfgopt(copt, "LogSyslog")) {
                int fac = LOG_LOCAL6;

                if(cfgopt(copt, "SysLogVerbose")) {
                        syslogVerbose = 1;
                }
                use_syslog = 1;


It seems to me, it is more correct.

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

Reply via email to