Exclude domain from Virus scan...

brad at beckenhauer.com brad at BECKENHAUER.COM
Tue Oct 11 23:17:26 IST 2005


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

Rob, 
Julian posted a great message about this back at the end of June.  

Martin Hepworth created a wiki page based on that email.  Read it a couple of times.

http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:overloading

Essentially, it sounds as if you're going to want to ALLOW ".exe" files only between the two specified domains.  So, using the wiki as a reference:


MailScanner.conf:
Filename Rules = %rules-dir%/filename.rules

%rules-dir%/filename.rules:
To: *@domain1.tld  and From: *@domain2.tld  /etc/MailScanner/filename.domain1.tld.conf  /etc/MailScanner/filename.rules.conf

To: *@domain2.tld  and From: *@domain1.tld  /etc/MailScanner/filename.domain2.tld.conf  /etc/MailScanner/filename.rules.conf
FromOrTo: default /etc/MailScanner/filename.rules.conf


/etc/MailScanner/filename.domain1.tld.conf:
allow   \.exe$          Windows/DOS Exe's   Exe's DOS/Windows programs are dangerous in email


/etc/MailScanner/filename.domain2.tld.conf:
allow   \.exe$          Windows/DOS Exe's   Exe's DOS/Windows programs are dangerous in email

Enjoy.
Brad


>>> Rob<rob at THEHOSTMASTERS.COM> 10/11/2005 3:44:16 PM >>>
It is now FromOrTo: and i have restarted mail scanner and it still removes 
.exe files that got through... unless this is another issue?? they need to 
transfer .exe files back and forth, would this be another modification 
rather than just turning off virus scanning for the domain in question?

Sorry if i did not mention this before...



Rob...

----- Original Message ----- 
From: "Alex Neuman van der Hans" <alex at NKPANAMA.COM>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Tuesday, October 11, 2005 3:43 PM
Subject: Re: Exclude domain from Virus scan...


> Rob wrote:
>
>> 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
>
> It's From:, To:, or FromOrTo: - not FromTo:
>
------------------------ 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