Do MailScanner + ClamAV work fine under RedHat 9 + CPanel?
Also, can I configure them so that only the emails of the accounts that I specified are scanned? This way, I can sell the antivirus service as an optional item.
Do MailScanner + ClamAV work fine under RedHat 9 + CPanel?
Also, can I configure them so that only the emails of the accounts that I specified are scanned? This way, I can sell the antivirus service as an optional item.
Last edited by SuperBaby; 01-02-2004 at 08:20 AM.
SuperBaby
I answered you on the cpanel hosts forum.
I have this posted on cpanelhosts.com:
I saw this under MailScanner's FAQ. I guess it is related but I do not fully understand.But there are no configuration options that I have seen that would allow you to disable it for certain domains.
Do not scan attachments for single domain/address
=================================================
You need a filename.rules.conf file that allows everything, and a filetype.rules.conf that allows everything.
So let's make
/etc/MailScanner/filename.allow.all.conf and
/etc/MailScanner/filetype.allow.all.conf
Make them both contain a single rule allow . - - (remember to separate with tabs and not spaces).
Then set in
MailScanner.conf Filename Rules = /etc/MailScanner/rules/filename.rules
Filetype Rules = /etc/MailScanner/rules/filetype.rules
Then in
/etc/MailScanner/rules/filename.rules we put
To: awkward@customer.com /etc/MailScanner/filename.allow.all.conf
FromOrTo: default /etc/MailScanner/filename.rules.conf
/etc/MailScanner/rules/filetype.rules we put
To: awkward@customer.com /etc/MailScanner/filetype.allow.all.conf
FromOrTo: default /etc/MailScanner/filetype.rules.conf
What happens is this: mail to the awkward customer ends up with the "allow.all" filename and filetype rules. Everyone else ends up with the normal filename.rules.conf and filetype.rules.conf files.
SuperBaby
And also this:
Controlling filename-based filtering per domain
In MailScanner.conf set
Filename Rules = /etc/MailScanner/rules/filename.rules.rules
In that file put this:
From: domain.com /etc/MailScanner/filename.no.rules.conf
FromOrTo: default /etc/MailScanner/filename.rules.conf
In the "filename.no.rules.conf" file put this:
allow . - -
(remembering to put tabs between each of the 4 words on that line).
This has created a ruleset so that mail from domain.com gets the "filename.no.rules.conf" filename rules file. Everyone else gets the normal "filename.rules.conf".
The "allow.everything" file just works by having 1 rule which will match any filename, allowing it.
SuperBaby
Or is this the answer? Please advise.
Dont Check Virus in some Fromto:
How to configure for dont check virus in some domains?
example,
i dont need to check virus in messages with the from: xxx@ietf.org is this possible?
alliettiATyahooDOTcom
There are some hints for doing this along the official documentation.
Please check specially the file /opt/MailScanner/rules/EXAMPLES where you can find something like this:
5. Only virus scan some domains
Set "Virus Scanning = /opt/MailScanner/etc/rules/virus.scanning.rules".
FromOrTo: *@scanme.com yes
FromOrTo: *@scanme-too.com yes
FromOrTo: default no
SuperBaby
I'm using RedHat 9 and mailscanner from http://www.cpanelplus.com/staticpage...03073009541160
Works fine ..