Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I got a postfwd daemon running and it does a great job.

smtpd_recipient_restrictions =
      [...]
      check_policy_service inet:192.168.10.7:10040

But if this server (192.168.10.7) isn't reachable, postfix rejects all mails with server configuration errors (4**). I am looking for something like a timeout. A timeout which skips this check if the policyd isnt running. I searched the documentation a lot, but there is nothing related to my problem.

Any ideas?

Thank you.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You could write your own proxy policyd daemon which will bypass all request to real policyd or will return OK to postfix if real policyd is not responding.

share|improve this answer
add comment

Unless something has happened in the last 5 years, there doesn't seem to be a proper solution

http://www.mail-archive.com/policyd-weight-list@ek-muc.de/msg00362.html

share|improve this answer
    
Mh, okay. I should think about a separate layer between this services... –  noqqe May 18 '11 at 10:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.