On Sun, Nov 20, 2022 at 11:11:44PM +0000, Paul Netpresto wrote:
> Hi
>
> I have a smtp instance declared in my master.cf
>
> a.b.c.d:smtp inet n - y - 40 smtpd
> -o myhostname=myhouse
> -o relay_recipient_maps=mysql:/etc/user1/samtest/recipients.cf
> -o default_destination_recipient_limit=1
> -o relay_domains=mysql:/etc/postfix/user1/relaydomains.cf
Neither of the last 2 (rearranged) apply to smtpd(8). They are
used in qmgr(8) and trivial-rewrite(8) respectively.
> This as above does not work. I have to move the relay_domains directive
> to main.cf
Correct.
> What simple mistake may I be making
Those parameters are used by other parts of Postfix, but not smtpd(8).
--
Viktor.