On Fri, Jun 17, 2011 at 09:00:51PM +0200, Daniel wrote:

> Hey guys,
> 
> i  get some postifx errors. Someone will send me some news (newsletter
> or  so)  and the mails didnt arrive. I see the following "error" in my
> log:
> 
> Jun  17 20:47:37 web01 postfix/smtpd[5197]: NOQUEUE: reject: RCPT from
> unknown[63.117.29.241]:  450  4.7.1  Client host rejected: cannot find
> your   hostname,   [63.117.29.241];   from=<do-not-re...@eamythic.com>
> to=<dan...@xxx.de> proto=ESMTP helo=<productdb1.daoc.man.eamythic.net>

Not an error, rather the expected result of a configuration that rejects
this message.

> smtpd_client_restrictions =
>         permit_mynetworks,
>         permit_sasl_authenticated,
>         reject_unknown_client_hostname

There you are. The last of these rejects the client, since its IP to PTR
mapping does not exist or does not match the forward mapping from name to IP.
This restriction should not be used as a global filter for all clients. You
can use it for particular IP ranges, or otherwise suspect traffic in more
advanced configurations.

> I  Have to be sure that the mails must be arrive. Dont know why it get
> droped by a 450 error.

Once you have a well-thought-out and tested configuration, you should
set:

    unknown_address_reject_code = 550
    unknown_client_reject_code = 550
    unknown_hostname_reject_code = 550

-- 
        Viktor.

Reply via email to