Postfix configuration file in smarthost(relayhost), for Ubuntu 22.04 LTS The complete guide is available at the following address: https://www.alldiscoveries.com/configuring-relayhost-smarthost-ubuntu-server-22-04-lts-with-gmail-or-another-email-server-via-postfix/