Wietse Venema: > Viktor Dukhovni: > > > On 19 Mar 2022, at 5:31 pm, Wietse Venema <wie...@porcupine.org> wrote: > > > > > > The cleanup server initializes Milters lazily, because they are not > > > always needed. In some cases an smtpd process decides if Miltering > > > is needed (based on the smtpd_milters setting), and in some cases > > > the cleanup server makes that decision (based on non_smtpd_milters). > > > > > > That said, the maps could be opened greedily before the chroot() call. > > > > I think that's closer to reasonable user expectations. I am guessing > > you've already decided to do that. > > I'm doing a preliminary implementation, and all it does is move the > responsibility to open maps from the header_body_checks code to > their caller.
The context diff is 384 lines, so I do not expect to back-port this to Postfix 3.7 or earlier. Wietse