my tests are little bit frustrating:
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
(same mail of 107421kb size / some time is added in body() but it should
be comparable)
Best regards
Matthias Schneider
Am 16.08.19 um 15:50 schrieb Wietse Venema:
On the Postfix side, edit src/milter/milter8.c and update its
MILTER_CHUNK_SIZE definition accordingly. It's only compile-time
configurable in Postfix, because it's only compile-time configurable
in libmilter.
Wietse