On 03/04/2019 14:58, Wietse Venema wrote:
Giles Coochey:
I notice that some mails that pass the sendmail server get rejected by
postfix, because the sender domain appears to be NXDOMAIN. I assume
these are temporary 400 rejections (to cope with a failed DNS) -?
Sendmail keeps these in the queue for a number of days and eventually my
postmaster receives a NDR - the NDR can't be sent to the originator
because the reply email is not valid anyway.
If you don't want Postfix to reject this mail then DO NOT SPECIFY
reject_unknown_recipient_domain.
I think I've checked that already:
# grepĀ reject_unknown_recipient_domain /etc/postfix/main.cf
#
But perhaps one of these settings causes it?
# postconf | grep reject
access_map_reject_code = 554
invalid_hostname_reject_code = 501
maps_rbl_reject_code = 554
message_reject_characters =
multi_recipient_bounce_reject_code = 550
non_fqdn_reject_code = 504
plaintext_reject_code = 450
reject_code = 554
reject_tempfail_action = defer_if_permit
relay_domains_reject_code = 554
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = no
unknown_address_reject_code = 450
unknown_address_tempfail_action = $reject_tempfail_action
unknown_client_reject_code = 450
unknown_helo_hostname_tempfail_action = $reject_tempfail_action
unknown_hostname_reject_code = 450
unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
unknown_virtual_alias_reject_code = 550
unknown_virtual_mailbox_reject_code = 550
unverified_recipient_reject_code = 450
unverified_recipient_reject_reason =
unverified_recipient_tempfail_action = $reject_tempfail_action
unverified_sender_reject_code = 450
unverified_sender_reject_reason =
unverified_sender_tempfail_action = $reject_tempfail_action
Doctor it hurts when I hit my head with a hammer. Stop hitting your
head with a hammer!
Wuetse