On Friday 14 October 2005 07:56 pm, Mark Martinec wrote:
> Maurizio,
>
> > can i configure which mime type i want allow, not which ones are banned?
>
> Sure. The regexp lookup table is described in README.lookups,
> it applies to $banned_filename_re too.
thnx Mark for help :)
your contribute is always very apreciated..
now, another question: can be this applied to a single mail account or domain,
or it is sistem wide only?
>
> $banned_filename_re = new_RE(
> [ qr'^message/multpart$'i => 0 ], # allow
> [ qr'^text/plain$'i => 0 ], # allow
> [ qr'^\.(empty|txt|html)$ => 0 ],
> [ qr'^\.(doc|jpg)$' => 0 ],
> [ qr'^\.(Z|gz|bz2)$ => 0 ], # allow any in Unix-compressed
> qr'^', # block everything else
> );
ok, it was just what i was searching for :)
Maurizio
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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/