Hi,
How to allow dual extension file from mails scanner for single domain
Double extension files
Re: Double extension files
Globally
This can be changed globally (for all domains)
Login to the box
Scroll all the way down to the end and remove the check for double file extensions.
then restart mailscanner.
Per domain
Per domain should be possible (untested this so use at your own risk ).
Copy the filename rules file to an new file
Then edit /etc/MailScanner/filename.MYDOMAINNAME.rules.conf and allow the double extensions (all the way at the end of the file)
now create /etc/MailScanner/rules/scan.messages.rules and add the following line:
Restart mailscanner
Note that I have never tested per domain so might be that this is not working correctly so test first!.
This can be changed globally (for all domains)
Login to the box
Code: Select all
vi /etc/MailScanner/filename.rules.conf
then restart mailscanner.
Code: Select all
service mailscanner restart
Per domain
Per domain should be possible (untested this so use at your own risk ).
Copy the filename rules file to an new file
Code: Select all
cp /etc/MailScanner/filename.rules.conf /etc/MailScanner/filename.MYDOMAINNAME.rules.conf
now create /etc/MailScanner/rules/scan.messages.rules and add the following line:
Code: Select all
FromOrTo: MYDOMAINNAME /etc/mailscanner/etc/filename.MYDOMAINNAME.rules.conf
FromOrTo: default yes
Code: Select all
service mailscanner restart
Note that I have never tested per domain so might be that this is not working correctly so test first!.
Version eFa 4.x now available!
Re: Double extension files
Thanks,
I will , and let you know.
regards
uday
I will , and let you know.
regards
uday