Mailscanner 4.59.4 and Mailwatch with clamd?
    Matt Hayes 
    dominian at slackadelic.com
       
    Wed May  2 13:43:09 IST 2007
    
    
  
Johnny Stork wrote:
> oops...meant to send this to the mailwatch list....sorry....but feel 
> free to answer if someone has a solution.
> 
> Johnny Stork wrote:
>> Just upgraded to MS 4.59.4 and switched to clamd, but when I try to 
>> get to the mailwatch interface I get
>>
>> *Error:*
>>  Unable to select a regular expression for your primary virus scanner 
>> (clamd) - please see the examples in functions.php to create one.
>>
>> but there does not appear to be any settings for using clamd?
>>
>> Any suggestions?
>>
What you need to do is add in another antivirus for mailwatch to use.
In your mailwatch directory in the functions.php just under the 
clamavmodule definition I added:
   case 'clamd':
    define(VIRUS_REGEX, '/(.+) contains (\S+)/');
    break;
Then mailwatch works fine :)
-Matt
    
    
More information about the MailScanner
mailing list