Rob,
> White List per recipient..
> i do not mind simply adding stuff into the 50-user config file i tried
> once before like the below but it does not work... i find it a bit
> confusing on how to implement this feature.. so if anyone can point me
> to docs i would very much appreciate it...
I assume you want to white list banning checks, not spam.
See RELEASE_NOTES, seach for: %banned_rules.
> ### To allow exe files through per recipient
>
> %banned_rules = (
> 'NO-MS-EXEC'=> new_RE( qr'^\.(exe-ms)$' ),
> 'PASSALL' => new_RE( [qr'^' => 0] ),
> 'ALLOW_EXE' => # pass executables except if name ends
> # in .vbs .pif .scr .bat
> new_RE( qr'.\.(vbs|pif|scr|bat)$'i, [qr'^\.exe$' => 0] ),
> 'ALLOW_VBS' => # allow names ending in .vbs
> new_RE( [qr'.\.vbs$' => 0] ),
> 'NO-VIDEO' => new_RE( qr'^\.movie$',
> qr'.\.(asf|asx|mpg|mpe|mpeg|avi|mp3|wav|wma|wmf|wmv|mov|vob)$'i, ),
> 'NO-MOVIES' => new_RE( qr'^\.movie$', qr'.\.(mpg|avi|mov)$'i, ),
> 'MYNETS-DEFAULT' => new_RE(
> [ qr'^\.(rpm|cpio|tar)$' => 0 ], # allow any in Unix-type archives
> qr'.\.(vbs|pif|scr)$'i, # banned extension - rudimentary
> qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl)$'i, # banned extension - basic
> qr'^\.(exe-ms)$', # banned file(1) types
> ),
> 'DEFAULT' => $banned_filename_re,
> );
>
> @banned_filename_maps = ({
> '[EMAIL PROTECTED]' => 'PASSALL',
> '[EMAIL PROTECTED]' => 'ALLOW_EXE',
> '.' => 'DEFAULT'
> });
This looks about right. To find out what is happening, turn up log level
(to at least 3, or better to 5), search for "collect banned table"
and thereabout.
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/