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)

Reply via email to