kgoods at cropusainsurance.com
Fri Apr 25 19:20:30 IST 2008
Wilson A. Galafassi Jr. wrote:
> I want to some emails have all filename and filetypes unblocked.
> So i have created this 2 files:
> /etc/MailScanner/filetype.rules.rules and
> Inside that files:
> FromOrTo: admin at domain.com
> /etc/MailScanner/filetype.rules.allowall.conf FromOrTo:
> admin at domain.com /etc/MailScanner/filename.rules.allowall.conf
> But when i send some exe file the email is blocked.
> What i have to configure to this feature work?
> Wilson Galafasi
I think you're close but you didn't say what was in your
filename.rules.allowall.conf file... maybe you just need to edit your
Here's what I did... there may be an easier/different way.
Create two files in your /etc/MailScanner directory:
allow . - -
This rule allows all filetypes and names (remember to use tabs between)
Create two files in your rules directory:
To: admin at domain.com /etc/MailScanner/filetype.allow.all.conf
FromOrTo: default /etc/MailScanner/filetype.rules.conf (the filetype rule
To: admin at domain.com /etc/MailScanner/filename.allow.all.conf
FromOrTo: default /etc/MailScanner/filename.rules.conf (the filename rule
Then in MailScanner.conf edit and add....
Filename Rules = /etc/MailScanner/rules/filename.rules
Filetype Rules = /etc/MailScanner/rules/filetype.rules
When an email comes in to admin at domain.com MailScanner directs it to the
allow.conf's and for everyone else it goes to the default conf's.
You may need to adjust the paths depending on your distribution.
Hope this helps.
CropUSA Insurance, Inc.
More information about the MailScanner