Jaroslaw Rafa:
> Dnia 27.07.2022 o godz. 06:41:16 Wietse Venema pisze:
> > 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.
> 
> Is relay_domains actually needed here? If 2domain.tld is locally hosted, and
> 3domain.2domain.tld is hosted on another machine (and I assume - OP has not
> stated this clearly - that Postfix is NOT the MX for 3domain.2domain.tld, but
> that another machine is), then Postfix has nothing to relay. Wouldn't be
> enough just to set relay_domains explicitly to an empty value?

The error message is:

    Sender address rejected: User unknown in relay recipient table
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

But this would also happen in a RCPT TO address.

        Wietse

Reply via email to