Hi, I have the following in main.cf:
soft_bounce = no unknown_address_reject_code = 550 Still, postfix server rejects mail from our exchange server with 450 instead of 550: Dec 3 15:41:32 mx2 postfix/smtpd[40509]: NOQUEUE: reject: RCPT from exchange.senderdomain.org[D.D.D.D]: 450 4.1.2 <some...@recipientdomain.org>: Recipient address rejected: Domain not found; from=<some...@senderdomain.org> to=<some...@recipientdomain.org> proto=ESMTP helo=<exchange.senderdomain.org> IP address of exchange server is in mynetworks. Any help appretiated. Here's postfinger output: --System Parameters-- mail_version = 2.11.7 hostname = mx2.example.org uname = FreeBSD mx2.example.org 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 --Packaging information-- /usr/local/sbin/postconf: warning: inet_protocols: disabling IPv6 name/address support: Protocol not supported --main.cf non-default parameters-- bounce_template_file = $config_directory/ourbounce content_filter = amavisfeed:[127.0.1.70]:10024 delay_warning_time = 1h inet_interfaces = D.D.D.D inet_protocols = ipv4 local_recipient_maps = local_transport = error: local delivery disabled message_size_limit = 25600000 mydestination = mynetworks = hash:$config_directory/ournetworks myorigin = $mydomain notify_classes = bounce data delay policy protocol resource software relay_domains = hash:$config_directory/ourdomains relay_recipient_maps = hash:$config_directory/ourrecipients smtp_tls_loglevel = 1 smtp_tls_security_level = may smtp_tls_session_cache_database = btree:$data_directory/smtp_scache smtpd_data_restrictions = reject_unauth_pipelining smtpd_helo_required = yes smtpd_relay_restrictions = reject_non_fqdn_recipient reject_non_fqdn_sender reject_unknown_sender_domain reject_unknown_recipient_domain check_sender_access regexp:$config_directory/tagfordkimsign permit_mynetworks reject_unauth_destination reject_multi_recipient_bounce reject_non_fqdn_helo_hostname reject_invalid_helo_hostname reject_rbl_client zen.spamhaus.org check_sender_access regexp:$config_directory/tagfordirectsend permit smtpd_tls_cert_file = /etc/ssl/public/mx2.example.org.crt smtpd_tls_key_file = /etc/ssl/private/mx2.example.org.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_security_level = may transport_maps = hash:$config_directory/ourtransports unknown_address_reject_code = 550 virtual_alias_maps = regexp:$config_directory/ouraliases --master.cf-- smtp inet n - n - - smtpd pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache amavisfeed unix - - n - 2 lmtp -o lmtp_data_done_timeout=1200 -o lmtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_relay_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions=reject_unauth_pipelining -o smtpd_end_of_data_restrictions= -o smtpd_restriction_classes= -o mynetworks=127.0.1.70 -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters -o local_header_rewrite_clients= -o smtpd_authorized_xforward_hosts=127.0.1.70 127.0.0.1:10027 inet n - n - - smtpd -o content_filter= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_relay_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions=reject_unauth_pipelining -o smtpd_end_of_data_restrictions= -o smtpd_restriction_classes= -o mynetworks=127.0.1.70 -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters -o local_header_rewrite_clients= -o smtpd_authorized_xforward_hosts=127.0.1.70 -- Before enlightenment - chop wood, draw water. After enlightenment - chop wood, draw water. Marko Cupać https://www.mimar.rs/