Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Wietse Venema
Wietse Venema: > Viktor Dukhovni: > > > On 19 Mar 2022, at 5:31 pm, Wietse Venema 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), a

Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Wietse Venema
Viktor Dukhovni: > > On 19 Mar 2022, at 5:31 pm, Wietse Venema 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 cl

Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Viktor Dukhovni
> On 19 Mar 2022, at 5:31 pm, Wietse Venema 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 decis

Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Wietse Venema
Viktor Dukhovni: > > On 19 Mar 2022, at 12:49 pm, Matus UHLAR - fantomas > > wrote: > > > > This should be fixable by using proxymap, better than disabling chroot > > http://www.postfix.org/proxymap.8.html > > Postfix typically opens all tables before chroot. > Not clear whether initialisation

Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Viktor Dukhovni
> On 19 Mar 2022, at 12:49 pm, Matus UHLAR - fantomas wrote: > > This should be fixable by using proxymap, better than disabling chroot > http://www.postfix.org/proxymap.8.html Postfix typically opens all tables before chroot. Not clear whether initialisation of milter_header_checks after chroot

Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Matus UHLAR - fantomas
On 2022-03-18 12:35, I wrote: I run postfix  3.4.14 (Debian Buster) with Amavisd-new as a pre-queue filter. ... Mar 18 11:42:53 nuser postfix/cleanup[8931]: warning: unsupported dictionary type: pcre (/usr/lib/postfix/postfix-pcre.so: No such file or directory) Mar 18 11:42:53 nuser postfix/cl

Re: milter_header_checks, pcre, chroot

2022-03-19 Thread Jesper Dybdal
On 2022-03-18 12:35, I wrote: I run postfix  3.4.14 (Debian Buster) with Amavisd-new as a pre-queue filter. ... Mar 18 11:42:53 nuser postfix/cleanup[8931]: warning: unsupported dictionary type: pcre (/usr/lib/postfix/postfix-pcre.so: No such file or directory) Mar 18 11:42:53 nuser postfix/cl