Re: Proxying a policy service

2009-05-18 Thread J Sloan
Jan P. Kessler wrote: > > hapolicy (http://postfwd.org/DEVEL/tools/hapolicy-0.99.1) was developed > to be small (~200 lines perl), simple and reliable. therefore it uses > only basic perl modules and relies on postfix spawn. we run it since > more than 6 months without problems to have a shared gre

Re: Proxying a policy service

2009-05-18 Thread Jan P. Kessler
J Sloan schrieb: > I'm going to try out hapolicy first, since it's quite a bit quicker and > cheaper to set up than full blown mysql replication. > hapolicy (http://postfwd.org/DEVEL/tools/hapolicy-0.99.1) was developed to be small (~200 lines perl), simple and reliable. therefore it uses only

Re: Proxying a policy service

2009-05-14 Thread J Sloan
Geert Hendrickx wrote: > On Thu, May 14, 2009 at 10:15:07AM -0700, J Sloan wrote: > >> Yes, that is the benefit of doing it that way. But we experienced problems >> with recurring corruption of the isam tables when the network connections >> to the db server were interrupted. Apparently myisam t

Re: Proxying a policy service

2009-05-14 Thread Geert Hendrickx
On Thu, May 14, 2009 at 10:15:07AM -0700, J Sloan wrote: > Yes, that is the benefit of doing it that way. But we experienced problems > with recurring corruption of the isam tables when the network connections > to the db server were interrupted. Apparently myisam tables don't deal well > with inte

Re: Proxying a policy service

2009-05-14 Thread J Sloan
Geert Hendrickx wrote: > > What drawbacks did you experience? We run a local policyd instance on each > postfix server too, all connecting to a central (not replicated) MySQL. > Policyd's behaviour when MySQL becomes unavailable is configurable, it can > either tempfail (4xx) all incoming e-mail o

Re: Proxying a policy service

2009-05-14 Thread Geert Hendrickx
On Wed, May 13, 2009 at 12:18:04PM -0700, J Sloan wrote: > Wietse Venema wrote: > > Instead of sending MySQL queries over a WAN connection, have you > > considered using a local MySQL replica instead? When the WAN hiccups, > > the replica keeps answering to the local MTAs. > > > > That is anoth

Re: Proxying a policy service

2009-05-13 Thread mouss
Adrian Overbury a écrit : > Has anyone ever written a proxy server for policy services? I have a > policy server (grossd, one of the best greylisting engines I've ever > used) that, if it goes down, causes my Postfix servers to temp fail > everything with 'Server configuration problem'. This is a

Re: Proxying a policy service

2009-05-13 Thread J Sloan
Sahil Tandon wrote: > > Google 'hapolicy synopsis' -- the author of postfwd wrote a perl > script which acts as a load balancing policy service that can return > dunno if the underlying services are unreachable. Obviously, if > hapolicy itself malfunctions, you're back at square one. Looks intere

Re: Proxying a policy service

2009-05-13 Thread J Sloan
Wietse Venema wrote: > J Sloan: > >> Adrian Overbury wrote: >> >>> Has anyone ever written a proxy server for policy services? I have a >>> policy server (grossd, one of the best greylisting engines I've ever >>> used) that, if it goes down, causes my Postfix servers to temp fail >>> every

Re: Proxying a policy service

2009-05-13 Thread Wietse Venema
J Sloan: > Adrian Overbury wrote: > > Has anyone ever written a proxy server for policy services? I have a > > policy server (grossd, one of the best greylisting engines I've ever > > used) that, if it goes down, causes my Postfix servers to temp fail > > everything with 'Server configuration prob

Re: Proxying a policy service

2009-05-13 Thread Sahil Tandon
On May 13, 2009, at 12:51 PM, J Sloan wrote: Adrian Overbury wrote: Has anyone ever written a proxy server for policy services? I have a policy server (grossd, one of the best greylisting engines I've ever used) that, if it goes down, causes my Postfix servers to temp fail everything with 'Se

Re: Proxying a policy service

2009-05-13 Thread J Sloan
Adrian Overbury wrote: > Has anyone ever written a proxy server for policy services? I have a > policy server (grossd, one of the best greylisting engines I've ever > used) that, if it goes down, causes my Postfix servers to temp fail > everything with 'Server configuration problem'. This is a re

Re: Proxying a policy service

2009-05-13 Thread lst_hoe02
Zitat von Adrian Overbury : Has anyone ever written a proxy server for policy services? I have a policy server (grossd, one of the best greylisting engines I've ever used) that, if it goes down, causes my Postfix servers to temp fail everything with 'Server configuration problem'. This is

Proxying a policy service

2009-05-12 Thread Adrian Overbury
Has anyone ever written a proxy server for policy services? I have a policy server (grossd, one of the best greylisting engines I've ever used) that, if it goes down, causes my Postfix servers to temp fail everything with 'Server configuration problem'. This is a real problem for me. I'd lik