Halo,

I have question about rejection.

Some unknown hostnames get 4.x.x defer, others get 5xx, I would like all
blocks at 5.x.x, yes, I know consequences of this, I run mail servers
(sendmail) for 15 years, now we move to postfix for mysql management of
company email I have problem replicate sendmail settings

Relevant sections of postconf -n:

smtpd_sender_restrictions =    check_recipient_access
hash:/etc/postfix/access.never_to

smtpd_recipient_restrictions = reject_unknown_sender_domain
reject_unknown_recipient_domain    permit_mynetworks
permit_sasl_authenticated    reject_unauth_destination
check_recipient_access hash:/etc/postfix/access.to    check_sender_access
hash:/etc/postfix/access.froms    check_client_access
hash:/etc/postfix/access.hosts    reject_unknown_client_hostname
reject_unknown_helo_hostname    reject_invalid_helo_hostname
reject_non_fqdn_helo_hostname    reject_non_fqdn_sender
reject_non_fqdn_recipient    reject_unlisted_recipient
reject_unlisted_sender  reject_rbl_client cbl.abuseat.org
reject_rbl_client dnsbl.sorbs.net    reject_rbl_client bl.spamcop.net
reject_rbl_client dnsbl.ahbl.org   check_policy_service
unix:private/spfpolicy

soft_bounce = no

unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_local_recipient_reject_code = 550
unverified_sender_reject_code = 550


Now we see many of:
 NOQUEUE: reject: RCPT from unknown[202.150.184.185]: 550 5.7.1 Client host
rejected: cannot find your hostname, [202.150.184.185]; from=<
cornmeal...@rehau.com> to=<deletet...@removed> proto=ESMTP helo=<FFVYYQO>

But.. then I also see many of:
 NOQUEUE: reject: RCPT from unknown[194.xx.xx.xx]: 450 4.7.1 Client host
rejected: cannot find your hostname, [194.xx.xx.xx]; from=<n...@valid-domain>
to=<remo...@removedt> proto=ESMTP helo=<valid-domain-removed>

In  4.x.x above me, the sender are known to us, his hostname presented
exist, but no PTR RR (he is get fixed but take time), it is we prefer to
5xx, so he  and others like him not wait 5 days to find mail never went, I
was think unknown_client_reject_code = 550  would be this solve, but not?
Anyway to have this so?

My Thaks

Reply via email to