Postfix - how to use gmail as smarthost (relay host)

Поділитися
Вставка
  • Опубліковано 27 лип 2024
  • 0:00 Intro
    1:05 I create a application password on my Gmail account
    2:43 I configure my Postfix server
    9:03 I test to send an email
    Version francaise (french version)
    • Postfix: Utiliser gmai...
    ---------------------
    Here all commands I used in this video
    sudo apt install postfix
    sudo nano /etc/postfix/sasl/sasl_passwd
    ###### Add and adjust this line:
    [smtp.gmail.com]:587 username@gmail.com:password
    sudo chmod 600 /etc/postfix/sasl/sasl_passwd
    sudo postmap /etc/postfix/sasl/sasl_passwd
    ls -l /etc/postfix/sasl/
    sudo cp -a /etc/postfix/main.cf /etc/postfix/main.cf.bak
    sudo nano /etc/postfix/main.cf
    ---------------------------
    If one of my videos saved your life, I don't know, maybe you were blocked with a computer problem and everything was to explode. One of my videos helped you solve the problem.
    You can support my work to thank me if you want:
    ko-fi.com/benlinux
  • Наука та технологія

КОМЕНТАРІ • 1

  • @Scruibyxmontages
    @Scruibyxmontages 7 місяців тому +2

    Thank you for this video it works, you forgot to put the information from the main.cf in the Description
    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options = noanonymous
    smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt