Discussion:
Update map_full_type_to_short_type_re
(too old to reply)
Jörg Backschues
2016-02-23 11:58:42 UTC
Permalink
Hi,

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?

Thank you.
Mark.Martinec+ (Mark Martinec)
2016-02-26 13:34:26 UTC
Permalink
Post by Jörg Backschues
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

Loading...