I've been using policyd with postfix and every now and then postfix develops this problem:
May 20 08:00:52 arnold postfix/smtpd[30434]: warning: timeout on 127.0.0.1:10031 while reading input attribute name May 20 08:00:52 arnold postfix/smtpd[29574]: warning: problem talking to server 127.0.0.1:10031: Connection timed out I have a script to check and make sure the policyd process is running and restart it if not. It also gets checked by nagios. But it seems the process does not actually stop when this happens. A second mail server also contacts the database on this machine and never seems to time out at all. When this happens connections subject to the policy service fail with a "server configuration error" message. A couple of times when it has done this it went down for many hours and did not recover until a system reboot. Most of the time it shows up in the log its over a period of less than a second and then it seems to recover. Now, I also thought that this: smtpd_policy_service_timeout = 15s would make is so that if there was a problem with the policy service postfix would keep on chugging the mail through. But it doesn't seem to do that. So the main question here is if the postfix believes the policy service is failing how do I make sure that postfix decides to ignore it and keeps passing mail? We found some stuff from the policyd-weight version that suggested that somaxconn needed to be increased. But its still coming up a bit. Does anybody have any idea what might be causing this? I put this on the postfix list as well. -- John Baker Network Systems Administrator Marlboro College Phone: 451-7551 off campus; 551 on campus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users