From postfix-users Mon Aug 19 08:34:51 2019 From: Matthias Schneider Date: Mon, 19 Aug 2019 08:34:51 +0000 To: postfix-users Subject: Re: postfix milter body chunk length Message-Id: <1aac9aba-dfa5-cd58-2115-59ce6c7204fb () rmail ! de> X-MARC-Message: https://marc.info/?l=postfix-users&m=156620376209692 Chris, can you tell me your postfix version/settings? When i do a load-test on my milter application, i can also get 100mb in about a second proceesed (with 65535 sized chunks). But postfix (3.3.0 and 3.4.5) only sends about 24 body chunks per second to my milter application. Its the only milter configured and the milter is running on 127.0.0.1 (so no latency issues) Matthias Am 16.08.19 um 18:06 schrieb Chris Wedgwood: >> Postfix with default milter body chunk size 65535: >> >> mail processing time 1m30.154298259s >> >> Postfix with milter body chunk size 1048576: >> >> mail processing time 17.52360866s > it looks to me like postfix is able to feed a milter very quickly > > i just did a couple of quick tests here, an ~83 MiB message only takes > a second or two to pass through two milters (debug log shows 1360 64K > fragments and one smaller tail fragment)