Exclude domain from Virus scan...

Chris Conn cconn at ABACOM.COM
Fri Sep 30 21:06:04 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. ]

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!



More information about the MailScanner mailing list