Compare commits

...

2 Commits

Author SHA1 Message Date
Bobbi Webber-Manners d015ca310c
README-gmail-gateway.md: add line to force IPv4 2022-09-04 20:19:21 -04:00
Bobbi Webber-Manners e102d732b0
Update README-gmail-gateway.md to add libsasl2-modules package 2022-09-04 20:17:02 -04:00
1 changed files with 6 additions and 2 deletions

View File

@ -82,7 +82,7 @@ Install the packages with root privs on the Pi:
```
sudo apt update
sudo apt upgrade
sudo apt install postfix postfix-pcre
sudo apt install postfix postfix-pcre libsasl2-modules
sudo apt install dovecot-common dovecot-pop3d
sudo apt install fetchmail
```
@ -179,6 +179,10 @@ My home network is 192.168.10.0/24, so I added it here:
`mynetworks = 192.168.10.0/24 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128`.
You should adjust this line to match your own LAN subnet.
I had an issue where the Pi was unable to connect to Google's SMTP server.
It turned out it was trying to use IPv6, so I forced IPv4 as follows:
`inet_protocols = ipv4`
Finally I added the following block of settings to enabled SASL authentication
when talking to Gmail:
@ -245,7 +249,7 @@ mynetworks = 192.168.10.0/24 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
inet_protocols = ipv4
# Enable SASL authentication
smtp_sasl_auth_enable = yes