Hello. I'm stuck while observe my server postfix, that hosts domain 2domain.tld, that refuses mail from sender of the domain 3domain.2domain.tld (not hosted on my server):
Jul 11 14:43:36 myserver postfix/smtpd[1799310]: NOQUEUE: reject: RCPT from smtpecsmallgo02.extdomain.tld [xx.xx.xx.xx]: 550 5.1.0 <n...@3domain.2domain.tld>: Sender address rejected: User unknown in relay recipient table; from=<n...@3domain.2domain.tld> to=<n...@2domain.it> proto=ESMTP helo=<smtps.extdomain.tld> Basically, myserver check the validity of sender in the domain 3domain.2domain.tld even if it is not local (while it is local domain 2domain.tld). In can't find where is the miscunfiguration in postfix.. smtpd_sender_restrictions = check_sender_access proxy:mysql:/etc/postfix/mysql-check-sender-access.cf check_recipient_access proxy:mysql:/etc/postfix/mysql-check-sender-access.cf check_recipient_access proxy:mysql:/etc/postfix/mysql-check-recipient-access.cf /etc/postfix/mysql-check-sender-access.cf: query = select action from access where ip = '%s' or ip = '%d'; (I use to ban IP or mail address or domain) /etc/postfix/mysql-check-recipient-access.cf: query = select restriction from domain where domain='%s' and active='1' (I use for recipient verificatio of domain managed on external mail server link exchange server) In the second case the query return empty value: root@myserver:/etc/postfix# postmap -q 3domain.2domain.tld proxy:mysql:/etc/postfix/mysql-check-recipient-access.cf root@myserver:/etc/postfix# but anyway it check for the validity of mailbox n...@3domain.2domain.tld, which does not exist on my server. What is the explanation for this strange behaviour? Regards, RS