How can I get the clamav-milter to call a virusaction scipt that accepts a cmd
line argument?

Setting
VirusAction /usr/local/sbin/virusaction

calls the script without the cmd line option.

When running the following test case from the cmd line the script works 
correctly.

./virusaction -option value Eicar-Test-Signature o8AE2Bqq017384 user user VT
"<201009101402.o8ae2bbu017...@host.cmpublishers.com>" "Fri, 10 Sep 2010
14:02:11 GMT"

I have tries setting birusaction to the following with no luck

VirusAction /usr/local/sbin/virusaction -option value
VirusAction /usr/local/sbin/virusaction "-option value"
VirusAction /usr/local/sbin/virusaction -option "value"

Any ideas?


-- 
Sincerely,

Nathan Gibbs

Systems Administrator
Christ Media
http://www.cmpublishers.com


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to