You might have noticed that we haven’t specified our Gmail username and password in above lines. Smtp_tls_CAfile = /etc/postfix/cacert.pem Smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd Then open your postfix config file: vim /etc/postfix/main.cfĪnd following lines to it: relayhost = :587 Just select your server as Internet Site and for FQDN use something like If you do not have postfix installed before, postfix configuration wizard will ask you some questions. Relaying Postfix mails via :įirst, install all necessary packages: sudo apt-get install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules If you face any issue, feel free to use comments-section below. If you want to use a Gmail account as a free SMTP server on your Ubuntu-Linux server, you will find this article useful. Update: This article is part of WordPress-Nginx tutorials series.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |