* Nathan Gibbs wrote:
> How can I get the clamav-milter to call a virusaction scipt that accepts a cmd
> line argument?
> 
SNIP
> 
> Any ideas?
> 
> 

OK, I have a few.

It doesn't appear that clamav-milter allows additional args to be passed to
the virusaction script.  Other external event scripts, like virusevent don't
seem to have this limitation.

I'm no c coder, so I can't tell you the right way to do this, but the
following configuration options all do the same task ( call an outside program 
).

OnUpdateExecute
OnErrorExecute
OnOutdatedExecute
VirusEvent
VirusAction

By looking at the code it appears that this common task is being implemented
in three different ways.
The clamav-milter way is definitely incompatible with the other two.

As stated I don't know the right way, but its obvious that ( some or all of )
the current three ways are messed up.


-- 
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