On Wed, Sep 30, 2015 at 12:54:51PM +0200, Daniel Caillibaud wrote: > I have quite a lot (~200 / day) > panic: cleanup_find_header_start: short header without padding > in my mail.log
This looks like a bug in the Postfix milter support code, or its interaction with cleanup header_checks. > 2015-09-30T12:37:46.834899+02:00 mail postfix/cleanup[26180]: 6CB5AD60497: > prepend: header > Received: from ns236029.ovh.net (sm11.netitmail.net [91.121.52.183]) > by mail.sesamath.net (Postfix) with ESMTP id 6CB5AD60497 > for <cont...@sesamath.net>; Wed, 30 Sep 2015 12:37:42 +0200 (CEST) > from sm11.netitmail.net[91.121.52.183]; > from=<mensup_pho...@warmup.netit03.net> to=<cont...@sesamath.net> > proto=ESMTP helo=<ns236029.ovh.net>: > X-Bulk: YES Cleanup prepends this header above the message, not sure whether "padding" required for subsequent milter updates is inserted as required. Headers shorter than 15 bytes need padding for any subsequent milter updates. > 2015-09-30T12:37:46.834927+02:00 mail postfix/cleanup[26180]: 6CB5AD60497: > prepend: header > List-Unsubscribe: > <http://f1.netit04.net/?D=warmup-h6t3e1vy-i9zjz7puqt&act=unsuscribe> > from sm11.netitmail.net[91.121.52.183]; > from=<mensup_pho...@warmup.netit03.net> > to=<cont...@sesamath.net> proto=ESMTP helo=<ns236029.ovh.net>: > X-Bulk: YES Second prepend of the same header. > 2015-09-30T12:37:46.842393+02:00 mail postfix/cleanup[26180]: panic: > cleanup_find_header_start: short header without padding Then a milter update request fails. > I'm using > header_checks = pcre:/etc/postfix/header_checks.pcre You're also using milters, any hints as to what the milter is configured to do? > but I was wondering if the "short header without padding" could occurs on my > prepend header > > Any idea ? A quick work-around would be to change the header to: X-Bulk: detected which is long enough to not require "padding". -- Viktor.