On my relay, I tried these settings: local_transport = error: local mail delivery is disabled mail_version = 3.5.8 relay_transport = hash:/etc/postfix/transport .our.local.domain relay:[MDA server IP] smtpd_recipient_restrictions = permit_mynetworks relayhost = [ upstream relay ]
And when I send mail, I get "Recipient address rejected: local mail delivery is disabled" What am I missing, please ? -----Original Message----- From: <owner-postfix-us...@postfix.org> on behalf of Wietse Venema <wie...@porcupine.org> Reply-To: Postfix users <postfix-users@postfix.org> Date: Thursday, August 5, 2021 at 12:08 To: Postfix users <postfix-users@postfix.org> Subject: Re: [EXTERNAL] Re: Inbound/Outbound Settings on a Postfix Relay-Only White, Daniel E. (GSFC-770.0)[NICS]: > This helps. > > All the outgoing mail is to go through an upstream relay cluster, so I can set "relayhost" to that. > > Incoming mail - for a single, local domain - goes to an MDA server that has Dovecot and Roundcube in addition to Postfix. It sounds like I can use "relay_domains" and/or "relay_transport" to direct the message to the MDA server. > > Then, it occurs to me that I can maybe use "relay_transport" for both, like this: > > .our.local.domain smtp:[ MDA server ] > * smtp:[ upstream relay cluster ] > > Does this sound proper or should I get my medications adjusted ? .our.local.domain relay:[ MDA server ] The '*' is not needed because you can use relayhost or default_transport. Wietse