]> gitweb.michael.orlitzky.com - amavis-logwatch.git/commit
Ignore errors from the File::LibMagic describe_filename function.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 7 Sep 2017 11:36:39 +0000 (07:36 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 7 Sep 2017 11:36:39 +0000 (07:36 -0400)
commit63421f1c92403149be838c64ebb731778c148dde
treec0a717e46aaec7cd4325700938a59b612be62924
parente9f83dde1b241ce449264db7a517124bb115dd99
Ignore errors from the File::LibMagic describe_filename function.

Newer versions of amavisd-new can make use of the File::LibMagic
library (as opposed to the "file" executable) to get information about
attachments. Using the library should be faster, but when it fails, it
does so in a novel way:

  (02859-21) File::LibMagic::describe_filename failed on p003: libmagic
  JPEG image data, Exif standard: [TIFF image data, big-endian,...

This commit adds such lines to the global ignore list, since they
don't provide us with any useful information.
amavis-logwatch