Allow certain users to send attachments
Divan Santana
divan.santana at gmail.com
Tue Dec 5 15:12:22 CET 2006
Hi Everyone!
I know this is probably amavis specific(is it?), but I am trying to find out the following:
How do you allow certain kolab users to send AND receive certain attachments that is normally barred or blocked??
I have tried researching but have had no luck with anything. Not sure what is the best way of doing this?
I have tried the following in /kolab/etc/kolab/templates/amavisd.conf.template
%banned_rules = (
#'NO-EXEC' => new_RE( qr'.\.(reg|scr|bat|com|exe)$'i ),
#'NO-MEDIA' => new_RE( qr'.\.(mov|wmv|mp3|ogg|wma|ra|med|mid|mpg|mpe|mpeg|avi|wmf|swf|wav|wmf|odp)$'i ),
#'ALLOW-MEDIA' => new_RE( [ qr'.\.(mov|wmv|mp3|ogg|wma|ra|med|mid|mpg|mpe|mpeg|avi|wmf|swf|wav|wmf|odp|bmp|tar)$'i => 0 ] ),
#'ALLOW-PPT' => new_RE( [ qr'.\.(ppt|pps|odp|pot)$'i => 0 ] ),
'ALLOW-IT' => new_RE( [ qr'.\.(aac|mp4|mp3|mpeg|mpg|mov|wma|wmv|avi|asf|iso|ogg|wmf|ra)$'i => 0 ] ),
'DEFAULT' => $banned_filename_re,
);
@banned_filename_maps = (
{
'carels at example.co.za' => 'ALLOW-IT,DEFAULT',
'doretted at example.co.za' => 'ALLOW-IT,DEFAULT',
'minniel at example.co.za' => 'ALLOW-IT,DEFAULT',
'netadmin at example.co.za' => 'ALLOW-IT,DEFAULT',
'reniers at example.co.za' => 'ALLOW-IT,DEFAULT',
'toitjied at example.co.za' => 'ALLOW-IT,DEFAULT',
'yolandes at example.co.za' => 'ALLOW-IT,DEFAULT',
'.' => 'DEFAULT',
},
);
But this seems not to allow them to send and receive, anyone here have an idea how to do this?
--
Divan Santana
Skype: DivanSantana
Gtalk/MSN: Divan.Santana at GMail.com
More information about the users
mailing list