Scappatura Rocco:
> 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
> <[email protected]>: Sender address rejected: User unknown in relay
> recipient table; from=<[email protected]> to=<[email protected]>
> 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..
relay_domains matches all subdomains of the listed domains. This
is controlled with parent_domain_matches_subdomains. Unfortunately
the default value is a long list, so edit this carefully.
Perhaps using a regexp or pcre table for relay_domains gets rid of
this automatic subdimain matching behavior.
Wietse