RE: [Mimedefang] removing mimedefang

2004-11-26 Thread Andrew Jayes
Hi,
I tried to put 

# Disable ClamAV
$Features{'Virus:CLAMAV'} = 0;

Into filter begin, but when I ran -features clamav was still listed as
'Yes'.

Should I have put it somewhere else or wrapped it up in brackets?

Cheers,

---
Andrew Jayes

 
 
 
 
-Original Message-
From: Alexander Dalloz [mailto:[EMAIL PROTECTED] 
Sent: 25 November 2004 17:21
To: [EMAIL PROTECTED]
Subject: Re: [Mimedefang] removing mimedefang

Am Do, den 25.11.2004 schrieb Andrew Jayes um 16:09:

   Unfortunately the virus scanners that I am using hang on every
mail that comes through the system. Can you
  tell me how I go about removing the scanners and mimedefang so I can
start again? I'm just going for the anti
 spam facility the virus scanners will have to wait.

 Andrew Jayes

Set in your mimedefang-filter entries like:

# Disable ClamAV
$Features{'Virus:CLAMAV'} = 0;
$Features{'Virus:CLAMD'} = 0;

Do so for the anti-virus scanners you want to exclude. Use
mimedefang.pl -features to see the names and your success.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 18:17:59 up 5 days, 13:05, load average: 0.35, 0.34, 0.34 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] removing mimedefang

2004-11-26 Thread dr john halewood
On Friday 26 Nov 2004 11:59, Andrew Jayes wrote:
 I tried to put 
# Disable ClamAV
$Features{'Virus:CLAMAV'} = 0;
Should I have put it somewhere else or wrapped it up in brackets?

It's a global variable so I'd suggest putting it at the very top of your 
mimedefang-filter script. That way it should propogate to all functions 
(failing that, if you're feeling really hackish, you could edit it in 
mimedefang.pl, but there shouldn't be any need for this and it will disappear 
whenever you upgrade mimedefang).

cheers
john
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] removing mimedefang

2004-11-26 Thread Aleksandar Milivojevic
dr john halewood wrote:
On Friday 26 Nov 2004 11:59, Andrew Jayes wrote:
I tried to put 
# Disable ClamAV
$Features{'Virus:CLAMAV'} = 0;
Should I have put it somewhere else or wrapped it up in brackets?
It's a global variable so I'd suggest putting it at the very top of your 
mimedefang-filter script. That way it should propogate to all functions 
(failing that, if you're feeling really hackish, you could edit it in 
mimedefang.pl, but there shouldn't be any need for this and it will disappear 
whenever you upgrade mimedefang).
Virus scanning is explicitly called from mimedefang-filter.  If you do 
not ask for it, it will not be performed.  Usual place where it is 
invoked is filter_begin (if you want to scan entire email once, and than 
make accpet/reject decision).  Some people call it from filter and 
filter_multipart instead (if you want to scan each part separately, and 
than only remove infected parts instead of blocking entire email).

So basically, commenting or deleting parts of mimedefang-filter where 
you are checking for viruses should prevent any virus scanning from 
taking place, regardless of values assigned to global variables.

--
Aleksandar Milivojevic [EMAIL PROTECTED]Pollard Banknote Limited
Systems Administrator   1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB  R3T 1L7
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] removing mimedefang

2004-11-25 Thread Alexander Dalloz
Am Do, den 25.11.2004 schrieb Andrew Jayes um 16:09:

   Unfortunately the virus scanners that I am using hang on every mail 
 that comes through the system. Can you
  tell me how I go about removing the scanners and mimedefang so I can start 
 again? I'm just going for the anti
 spam facility the virus scanners will have to wait.

 Andrew Jayes

Set in your mimedefang-filter entries like:

# Disable ClamAV
$Features{'Virus:CLAMAV'} = 0;
$Features{'Virus:CLAMD'} = 0;

Do so for the anti-virus scanners you want to exclude. Use
mimedefang.pl -features to see the names and your success.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 18:17:59 up 5 days, 13:05, load average: 0.35, 0.34, 0.34 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang