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 real problem > for me. I'd like to proxy the service so that, if it goes down, the > proxy responds with DUNNO and the message continues to be checked > against the next item in the chain. Does anyone know of anything > pre-made that can achieve this, or am I going to have to write it myself? >
does it go down often? if so, you should report this to the developpers (I hope they are still involved in the project). a simple approach would be to have a daemon (perl or whatever) that monitors the policy server, and changes the config if it notices a shutdown. This has the advantage of not interfering with the communication, and is easier to secure. otherwise, there are many generic purpose proxies that can be used. unfortunately, most are "untrusted" (they implement a lot of functionalities, which means more code, and thus more bugs/vulnerabilities).