On Fri, Nov 12, 2021 at 12:09:33PM +0000, Dominic Raferd <domi...@timedicer.co.uk> wrote:
> On 12/11/2021 04:53, Walt Pang wrote: > > How to set up postfix to forward all my domain's email to gmail, and > > enable authentication for SMTP outgoing messages? > The good news is that we have had this working for our own domains for > years. The bad news is that I don't have the time to explain our somewhat > involved setup here, sorry. Maybe someone else can? I could be wrong, but I think this came up a little while ago and this URL was offered for guidance on getting Postfix to use OAUTH2 to connect with gmail: Setting Up OAUTH2 Support for Fetchmail and Postfix http://mmogilvi.users.sourceforge.net/software/oauthbearer.html It might answer the parts of your task that aren't covered by Postfix's own documentation. cheers, raf