Exclude domain from Virus scan...

Rob rob at THEHOSTMASTERS.COM
Tue Oct 11 20:40:44 IST 2005


    [ The following text is in the "Windows-1252" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hello all.. just tried this, and it did not work.... am i missing something?

In a file located in /etc/Mailscanner/rules/virus.scanning.rules

FromTo: *@domain1.com  no
FromTo: *@domain2.com    no
FromTo: default         yes


In /etc/Mailscanner/Mailscanner.conf

Changed the line

Virus scanning = yes

to

Virus scanning = /etc/Mailscanner/rules/virus.scanning.rules

All domain still get scanned for viruses...

Thanks...



Rob...

----- Original Message ----- 
From: "Chris Conn" <cconn at ABACOM.COM>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Friday, September 30, 2005 4:06 PM
Subject: Re: Exclude domain from Virus scan...


> Rob wrote:
>> Sorry for being a pain, but i did a quick search and did not find 
>> anything... i have a client that just called up 4pm here on a Friday, i 
>> close at 4:30 pm. This client wants me to exclude his domain from virus 
>> scanning only, but leave spam scanning , as they are developers and want 
>> to email each other this weekend   files and stuff...
>>
>> Can anyone tell me what files i need to add this domain to, to have it 
>> excluded from virus scanning?
>>
>> Once again sorry for posting in haste.. i apologize...
>>
>> Thanks...
>>
>> Rob...
>>
>
> Find this in your MailScanner.conf:
>
> Virus Scanning = yes
>
>
> change it to:
>
> Virus Scanning = %rules-dir%/virus.scanning.rules
>
> and in your rules dir, make a file calle virus.scanning.rules that 
> contains:
>
> To: *@hisdomain.com no
> To: *@hisdomain2.com no
> To: *@hisdomain3.com no
> FromOrTo: default yes
>
> so for every domain you don't want to virus scan, list it before the 
> FromOrTo line.  If your customer only has one domain, your file will only 
> have 2 lines.
>
> Good luck.
>
> Oh, and since it is friday I would send myself a few test viruses and make 
> sure that you didn't fowl up anything... =)
>
> Chris
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website! 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list