Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have computer with,, and I set in postfix:

smtpd_client_restrictions =
    warn_if_reject reject_unknown_client,
    warn_if_reject check_client_access hash:/etc/postfix/access,

When I add reject_unknown_client I get ONLY for

Mar 29 09:45:31 fo-mail postfix/smtpd[6132]: NOQUEUE: reject_warning: RCPT from
unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, 
[]; from=<> to=<> proto=ESMTP 

I writed to access OK 

It doesn't help.

Can you help me?

share|improve this question
what is setting of smtpd_delay_reject and what version of Postfix you are using? – Dada Mar 29 '12 at 9:35
up vote 2 down vote accepted

rules in smtpd_client_restriction are checked in the same order as it written in the configuration directive. In your example, restrictive rule for reject_unknown_client is evaluating before permissive check_client_access. Try to change the order of those two directives. And, of course, you should have all your clients' IP's in access.

share|improve this answer

Your Answer


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.