On 04/23/2010 11:37 AM, jef moskot wrote: > On Thu, 22 Apr 2010, Török Edwin wrote: >> Well you can add --debug 2>/tmp/clamscan-debug. >> That way it'll always go to a place you know (assuming mimedefangs allow >> the redirection). > > I don't want to go too far down the mimedefang-specific path, but I > added this to the command line call in my mimedefang-filter file, and > all it did was create an empty file at /tmp/clamscan-debug > > Here's the entry: > > $Features{'Virus:CLAMAV'} = '/usr/local/bin/clamscan > --phishing-scan-urls=no --debug 2>/tmp/clamscan-debug'; > > I don't know if there's voodoo in this particular punctuation, but path > slashes didn't need any backslashes in front of them.
Try writing a shell script that invokes clamscan and redirects stderr as above, then in mimedefang invoke your script (don't forget to chmod +x it). > > Should I try this all with --disable-llvm at configure time and see what > happens? Yes please try. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml