Hi all,

I suspect cross-posting is not allowed so if this is the wrong list, let me know and I'll send it to clamav-devel instead.

I write a GUI for ClamAV and am changing things so it uses clamd/ clamdscan rather than clamscan but can't get clamd to use the -- include and --exclude patterns. If I add them as switches to clamdscan I get an error back saying:
        WARNING: Ignoring option --exclude: please edit clamd.conf instead

I've tried editing clamd.conf but can see no option for include/ exclude other than clamuko which can't be used. Simply adding "exclude RegExPattern" to clamd.conf doesn't work either as I then get the following error from clamd:
        ERROR: Parse error at line 6: Unknown option exclude.
        ERROR: Can't parse the configuration file.

Can someone please tell me what I'm doing wrongly, or if indeed the option even exists; the output from clamdscan would seem to suggest it does exist but I can't see how to use it.

Many thanks

Mark
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to