Re: milter_header_checks not supporting pcre

2014-08-12 Thread li...@rhsoft.net
Am 12.08.2014 um 16:04 schrieb Matthias Schneider: > I found a solution, turning off chroot for cleanup in master.cf > > cleanup unix n - n - 0 cleanup > > this should be added to the documention: > http://www.postfix.org/postconf.5.html#milter_header_checks no

Re: milter_header_checks not supporting pcre

2014-08-12 Thread Viktor Dukhovni
On Tue, Aug 12, 2014 at 04:04:46PM +0200, Matthias Schneider wrote: > I found a solution, turning off chroot for cleanup in master.cf > > cleanup unix n - n - 0 cleanup > > this should be added to the documention: > http://www.postfix.org/postconf.5.html#milter_h

Re: milter_header_checks not supporting pcre

2014-08-12 Thread Matthias Schneider
I found a solution, turning off chroot for cleanup in master.cf cleanup unix n - n - 0 cleanup this should be added to the documention: http://www.postfix.org/postconf.5.html#milter_header_checks

Re: milter_header_checks not supporting pcre

2014-08-12 Thread Matthias Schneider
i searched the code what returns the error, hope this will help. if you have any suggestions or experimantal code changes i'll compile and test them with my addheader milter. Best regards Matthias Schneider cleanup_milter.c: 381 static int cleanup_milter_header_checks(CLEANUP_STATE *state,

Re: milter_header_checks not supporting pcre

2014-08-12 Thread Matthias Schneider
please note that pcre is working fine with normal "header_checks", the problem is just with milter_header_checks : # postconf -m btree cidr environ fail hash internal memcache nis pcre proxy regexp sdbm socketmap sqlite static tcp texthash unix what does "postconf -m" list - most likely not pc

Re: milter_header_checks not supporting pcre

2014-08-12 Thread li...@rhsoft.net
Am 12.08.2014 um 13:59 schrieb Matthias Schneider: > i am trying to use this feature in postfix 2.11: > http://www.postfix.org/postconf.5.html#milter_header_checks > > I have created a milter which adds a Header: "X-Body: bla" and i'd like to > filter mails, unfortunately the cleanup > process d

milter_header_checks not supporting pcre

2014-08-12 Thread Matthias Schneider
i am trying to use this feature in postfix 2.11: http://www.postfix.org/postconf.5.html#milter_header_checks I have created a milter which adds a Header: "X-Body: bla" and i'd like to filter mails, unfortunately the cleanup process doesn't support pcre for "milter_header_checks", if i use the s