Re: domain email handled by postfix

2021-11-13 Thread raf
On Fri, Nov 12, 2021 at 12:09:33PM +, Dominic Raferd 
 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



Re: domain email handled by postfix

2021-11-12 Thread Bill Cole

On 2021-11-12 at 12:07:43 UTC-0500 (Fri, 12 Nov 2021 12:07:43 -0500)
Miles Fidelman 
is rumored to have said:


Forwarding mail - that would be a job for procmail - pretty easy.


Please, no.

Procmail has been unmaintained for 2 decades and its security is 
unknowable beyond a certainty that there are unfixed bugs. Don't 
encourage anyone to install it anywhere it is not already infesting a 
system.


(Full disclosure: yes, I do still have a .procmailrc handling my 
personal mail. Because I'm a lazy bozo.)


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


Re: domain email handled by postfix

2021-11-12 Thread Wietse Venema
Ralph Seichter:
> * Walt Pang:
> 
> > How to set up postfix [...]
> 
> Studying http://www.postfix.org/documentation.html first, in depth, will
> help you. It is best always do one's homework before asking others.

Read enough so that you can ask meaningful questions and understand
the responses. No need to get stuck looking for the needle in the
haystack.

Wietse


Re: domain email handled by postfix

2021-11-12 Thread Ralph Seichter
* Walt Pang:

> How to set up postfix [...]

Studying http://www.postfix.org/documentation.html first, in depth, will
help you. It is best always do one's homework before asking others.

-Ralph


Re: domain email handled by postfix

2021-11-12 Thread Miles Fidelman

Walt Pang wrote:
How to set up postfix to forward all my domain's email to gmail, and 
enable authentication for SMTP outgoing messages?



Forwarding mail - that would be a job for procmail - pretty easy.

SMTP authentication - last time I did that, I just went to the (rather 
excellent) postfix documentation.


Miles Fidelman

--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: domain email handled by postfix

2021-11-12 Thread Dominic Raferd

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?


domain email handled by postfix

2021-11-11 Thread Walt Pang
How to set up postfix to forward all my domain's email to gmail, and enable
authentication for SMTP outgoing messages?

Thank you.