Update map_full_type_to_short_type_re

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri Feb 26 14:34:26 CET 2016


Jörg Backschues wrote:
> how can I update the map_full_type_to_short_type_re table with new
> file types (e.g. Microsoft Word 2007+) without modifying the table in
> the orignal amavisd-new script? What's your recommendation?

Something like the following should do:

   push(@$map_full_type_to_short_type_re, [qr/^Microsoft Word\b/i => 
'doc']);

Will update the default for 2.11.0, thanks for reminding.

   Mark


More information about the amavis-users mailing list