Jason Bertoch wrote:
> On 2010/07/06 4:55 PM, Bowie Bailey wrote:
>> In my freshclam.conf file, I have the following line:
>>
>> OnOutdatedExecute 'mail -s "ClamAV %v available" bow...@buc.com<
>> /dev/null>  /dev/null'
>>
>> When I execute the mail command as the clamav user, the message comes
>> through, but I don't think freshclam has ever sent the email to me.
>> Does this option work?  Am I doing something wrong?
>>
>
> It works for me, but my line is slightly different:
>
> OnOutdatedExecute echo "See http://www.clamav.net/support/faq"; |mail
> -s "Clam Engine is Outdated" jason

Aha!  Found the problem.  It doesn't like the quotes around the command.

    OnOutdatedExecute command

works fine, while

    OnOutdatedExecute 'command'

does not work.

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

Reply via email to