Re: check_policy_service not working - need a 4eye method or..

2015-08-06 Thread Wietse Venema
Istvan Prosinger: > On 2015-08-06 13:50, Istvan Prosinger wrote: > > Got it. > > I have made a small perl script as a service that would only return > > reject as a policy (that sould have rendered most of the mailing > > impossibble), and postfix was still mailing happily. Since I have > > recompi

Re: check_policy_service not working - need a 4eye method or..

2015-08-06 Thread Istvan Prosinger
On 2015-08-06 13:50, Istvan Prosinger wrote: Got it. I have made a small perl script as a service that would only return reject as a policy (that sould have rendered most of the mailing impossibble), and postfix was still mailing happily. Since I have recompiled Postfix from the source, it was ou

Re: check_policy_service not working - need a 4eye method or..

2015-08-06 Thread Istvan Prosinger
Got it. I have made a small perl script as a service that would only return reject as a policy (that sould have rendered most of the mailing impossibble), and postfix was still mailing happily. Since I have recompiled Postfix from the source, it was out of the question the the process was faul

Re: check_policy_service not working - need a 4eye method or..

2015-08-05 Thread Istvan Prosinger
On 2015-08-03 16:16, Viktor Dukhovni wrote: On Mon, Aug 03, 2015 at 09:48:35AM -0400, Postfix User wrote: On Mon, 03 Aug 2015 14:52:33 +0200, Istvan Prosinger stated: > Yeah when I took the server for audit, Postfix was dead and couldn't > start -the config file was (and stil is) in mess. > >

Re: check_policy_service not working - need a 4eye method or..

2015-08-03 Thread Viktor Dukhovni
On Mon, Aug 03, 2015 at 09:48:35AM -0400, Postfix User wrote: > On Mon, 03 Aug 2015 14:52:33 +0200, Istvan Prosinger stated: > > > Yeah when I took the server for audit, Postfix was dead and couldn't > > start -the config file was (and stil is) in mess. > > > > Nevertheless, accepting SMTP is n

Re: check_policy_service not working - need a 4eye method or..

2015-08-03 Thread Postfix User
On Mon, 03 Aug 2015 14:52:33 +0200, Istvan Prosinger stated: > Yeah when I took the server for audit, Postfix was dead and couldn't > start -the config file was (and stil is) in mess. > > Nevertheless, accepting SMTP is not the issue at this moment. > The issue is that it seems to be disregardin

Re: check_policy_service not working - need a 4eye method or..

2015-08-03 Thread Istvan Prosinger
Yeah when I took the server for audit, Postfix was dead and couldn't start -the config file was (and stil is) in mess. Nevertheless, accepting SMTP is not the issue at this moment. The issue is that it seems to be disregarding the policy check. I have even precompiled it from source yesterday, t

Re: check_policy_service not working - need a 4eye method or..

2015-08-02 Thread Viktor Dukhovni
On Sun, Aug 02, 2015 at 10:53:35PM +0200, Istvan Prosinger wrote: > smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031 > smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, > permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

Re: check_policy_service not working - need a 4eye method or..

2015-08-02 Thread Istvan Prosinger
Hi Viktor, I think I have attached postconf -n at start (at least that was the master plan). Sorry if I missed it Here goes, unaltered [root@top ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_percent_hack = no broken_sasl_auth_clients = yes command

Re: check_policy_service not working - need a 4eye method or..

2015-07-31 Thread Viktor Dukhovni
On Fri, Jul 31, 2015 at 02:28:35PM +0200, Istvan Prosinger wrote: > On 2015-07-30 17:23, wie...@porcupine.org wrote: > >Istvan Prosinger: > >>Hello everyone, > >> > >>I have this im main.cf (I'ts actually an attempt to implement > >>cluebringer/policyd) > >> > >>smtpd_recipient_restrictions = chec

Re: check_policy_service not working - need a 4eye method or..

2015-07-31 Thread Istvan Prosinger
Istvan Prosinger: On 2015-07-30 17:23, wie...@porcupine.org wrote: > Istvan Prosinger: >> Hello everyone, >> >> I have this im main.cf (I'ts actually an attempt to implement >> cluebringer/policyd) >> >> smtpd_recipient_restrictions = check_policy_service >> inet:127.0.0.1:10031, >>

Re: check_policy_service not working - need a 4eye method or..

2015-07-31 Thread Wietse Venema
Istvan Prosinger: > On 2015-07-30 17:23, wie...@porcupine.org wrote: > > Istvan Prosinger: > >> Hello everyone, > >> > >> I have this im main.cf (I'ts actually an attempt to implement > >> cluebringer/policyd) > >> > >> smtpd_recipient_restrictions = check_policy_service > >> inet:127.0.0.1:10031

Re: check_policy_service not working - need a 4eye method or..

2015-07-31 Thread Koko Wijatmoko
On Fri, 31 Jul 2015 14:28:35 +0200 Istvan Prosinger wrote: > I don't think so. I've tried to give false parameters here to Postfix > that sould produce an error in the maillog, but Postfix is all happy, > carrying on... what false parameters you tried? share with us your conf.

Re: check_policy_service not working - need a 4eye method or..

2015-07-31 Thread Istvan Prosinger
On 2015-07-30 17:23, wie...@porcupine.org wrote: Istvan Prosinger: Hello everyone, I have this im main.cf (I'ts actually an attempt to implement cluebringer/policyd) smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_mynetworks,

Re: check_policy_service not working - need a 4eye method or..

2015-07-30 Thread Wietse Venema
Istvan Prosinger: > Hello everyone, > > I have this im main.cf (I'ts actually an attempt to implement > cluebringer/policyd) > > smtpd_recipient_restrictions = check_policy_service > inet:127.0.0.1:10031, > permit_mynetworks, >