Compare commits
2 Commits
6106701fa8
...
d015ca310c
Author | SHA1 | Date |
---|---|---|
Bobbi Webber-Manners | d015ca310c | |
Bobbi Webber-Manners | e102d732b0 |
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue