- edit /etc/postfix/sasl_passwd, add this line
[smtp.gmail.com]:587 username@gmail.com:password - chmod 0400 /etc/postfix/sasl_passwd,
- vi /etc/postfix/main.cf, add these lines:
#relayhost = (uncomment this line)
# chiao
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtp_use_tls = yes - postmap /etc/postfix/sasl_passwd
- service postfix restart
2018年8月29日 星期三
setup gmail relay
cf: https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/#debian-ubuntu
-
cf: https://www.tenforums.com/tutorials/101274-uninstall-printer-driver-windows-10-a.html Open cmd in administer mode Run printmanagement...
-
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033 For linux: First run the command: route -n It will show the metrics of the i...
-
cf: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist sudo mv /var/cache...