Maximum Archive Depth

Claude Gagné claude.gagne at multitech.qc.ca
Fri Feb 16 20:21:49 CET 2007


Thank you Glenn I'll try that very soon. :)

Glenn Steen a écrit :
> On 16/02/07, Claude Gagné <claude.gagne at multitech.qc.ca> wrote:
>> Hi,
>>
>> I'm trying to configure MailScanner in a way that he look inside the ZIP
>> files for all user except one. I have found the parameter "Maximum
>> Archive Depth" in my MailScanner.conf but if I change it for the value 0
>> it changes the parameter system wide.
>>
>> Is it possible ?
>>
>> Thanks !
>>
>> Claude
> Yes. Use a ruleset on the setting you want to vary, something like:
> FromOrTo: user1 at domain.tld 0
> FromOrTo: default 2
> ... The above applied on Maximum Archive Depth (just put it in a file
> in the rules directory (named <something>.rules), then set the setting
> to = %rules-dir%/<something>.rules ... and restart MS) would do
> MailScanner tests (AVs are generally not affected by this setting...
> They manage to unpack things themselves) for any archive file, and any
> archive file found in that "first level" archive... for everyone
> _except_ user1 at domain.tld ... There are good examples for rulesets in
> /etc/MailScanner/rules (README and EXAMPLES) as well as in the wiki
> ... and of course: The Book. Buy it, if you haven't already;-).
>
> Cheers!

-- 
* Claude Gagné*
/ Technicien informatique/

claude.gagne at multitech.qc.ca <mailto:claude.gagne at multitech.qc.ca> 	
226-A, chemin des Poirier
Montmagny (Qc)
G5V 3X8

Tél. : (418) 248-2247
Téléc. : (418) 248-2230
	
*8, rue du Domaine
Rivière-du-Loup (Qc)
G5R 2P5

Tél. : (418) 867-3355
Téléc. : (418) 867-2775
*


-------------- next part --------------
Skipped content of type multipart/related


More information about the MailScanner mailing list