[prev in list] [next in list] [prev in thread] [next in thread]
List: amavis-user
Subject: Re: [PATCH] replace call to file(1) with libmagic
From: Mark Martinec <Mark.Martinec+amavis () ijs ! si>
Date: 2014-07-23 1:06:05
Message-ID: 75474f78e07e54d69c98c0c0c23cedd6 () mailbox ! ijs ! si
[Download RAW message or body]
Patrick,
> I threw this onto one of my servers to test, and it was working ok.
> I went ahead and threw in onto 3 large production servers. So far no
> issues. I'll follow up if I get some crashs or something.
Thanks. Works fine here as well.
Did compare timings over a couple of hours, and a typical time
for checking a single simple mail part (which is quite common)
dropped from 27 ms down to 4 ms. With more mail parts (or more
demanding files) the obvious advantage diminishes, but is still
favourable towards calling libmagic directly.
Mark
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic