[pfx] Re: [ext] Re: Configuration of postfix on Ubuntu 22

2023-03-24 Thread Aosars Repository via Postfix-users
Hi all, Find the logs. I am still learning postfix and therefore cannot figure out the problems. Kindly assist: Do you wish to issue a Let's encrypt certificate for this domain? [y/N] y aosars.com is inaccessible, please verify! root@aosars:~# echo "Test Email message body" | mail -s "Email test

[pfx] Re: [ext] Re: Configuration of postfix on Ubuntu 22

2023-03-24 Thread Viktor Dukhovni via Postfix-users
On Fri, Mar 24, 2023 at 02:55:32PM +0100, Ralf Hildebrandt via Postfix-users wrote: > > smtp_use_tls=yes > > relayhost = smtp.gmail.com:587 Small correctness improvement: relayhost = [smtp.gmail.com]:587 >] # we want to relay all mails via smtp.gmail.com (port 587) > > smtp_sasl_auth_en

[pfx] Re: [ext] Re: Configuration of postfix on Ubuntu 22

2023-03-24 Thread Ralf Hildebrandt via Postfix-users
* Aosars Repository via Postfix-users : > Hi all, > I have installed postfix on Ubuntu server 22 and configured to use gmail > smtp.But it fails to send mails. The log should inform you why it's failing. I have a config snippet here: main.cf: smtp_use_tls=yes relayhost = smtp.gmail.com:587 # w