> I found, this problem in the clamscan.exe itself. It not read clamav.conf and not autodetects many mailbox formats. But works fine when options set in command line.
> Is it modified source code or do you compile it in a special way? Below are changes made in 'configure' script to allow using clamav under windows with any paths. Just deleted path checks :) The binary build compiled with these and previous patches from the current CVS sources available for tests from: http://bitrix.eserv.ru/download/clamav3.rar (1.7 Mb) (works in any directory and clamdscan not inserts /cygdrive) ***** configure # Be sure to have absolute paths. #for ac_var in exec_prefix prefix #do # eval ac_val=$`echo $ac_var` # case $ac_val in # [\\/$]* | ?:[\\/]* | NONE | '' ) ;; # *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 # { (exit 1); exit 1; }; };; # esac #done ***** CONFIGURE.ORIG # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done ***** ***** configure # Be sure to have absolute paths. #for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ # localstatedir libdir includedir oldincludedir infodir mandir #do # eval ac_val=$`echo $ac_var` # case $ac_val in # [\\/$]* | ?:[\\/]* ) ;; # *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 # { (exit 1); exit 1; }; };; # esac #done ***** CONFIGURE.ORIG # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done ***** ***** ltmain.sh # We need an absolute path. # case $arg in # [\\/]* | [A-Za-z]:[\\/]*) ;; # *) # $echo "$modename: only absolute run-paths are allowed" 1>&2 # exit 1 # ;; # esac if test "$prev" = rpath; then ***** LTMAIN.ORIG # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit 1 ;; esac if test "$prev" = rpath; then ***** ***** ltmain.sh # We need an absolute path. # case $dir in # [\\/]* | [A-Za-z]:[\\/]*) ;; # *) # $echo "$modename: only absolute run-paths are allowed" 1>&2 # exit 1 # ;; # esac case "$xrpath " in ***** LTMAIN.ORIG # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit 1 ;; esac case "$xrpath " in ***** Run configure: prefix=. sbindir=. sysconfdir=. MY_CFLAGS="-O2" MY_LDFLAGS= CFLAGS="${MY_CFLAGS}" LDFLAGS="${MY_LDFLAGS}" \ configure \ --prefix=${prefix} \ --exec-prefix=${prefix} --sysconfdir=${sysconfdir} \ --libdir=${prefix}/lib --includedir=${prefix}/include \ --mandir=${prefix}/man --infodir=${prefix}/info \ --libexecdir='${sbindir}' --localstatedir=/var \ --datadir='${prefix}/db' --disable-clamav --enable-shared \ --enable-static ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users