From d40dbe5fc803a25e4b19cbb0b70a43b72765a6ad Mon Sep 17 00:00:00 2001 From: Bobbi Webber-Manners Date: Thu, 3 Jun 2021 15:18:23 -0400 Subject: [PATCH] Update to README-gmail-gateway.md. --- README-gmail-gateway.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README-gmail-gateway.md b/README-gmail-gateway.md index f4faa61..56be2cf 100644 --- a/README-gmail-gateway.md +++ b/README-gmail-gateway.md @@ -484,8 +484,31 @@ Be sure to restart Postfix after any configuration changes: ### Fetchmail Configuration for Multiple GMail accounts -*INSTRUCTIONS TO FOLLOW* +Edit `/etc/fetchmailrc` as follows: +``` +set postmaster "pi" +set bouncemail +set no spambounce +set softbounce +set properties "" +poll imap.gmail.com with proto IMAP auth password + user 'user1' is pi here + password 'aaaa bbbb cccc dddd' + ssl, sslcertck + user 'user2' is user2 here + password 'eeee ffff gggg hhhh` + ssl, sslcertck +``` + +Fetchmail does not support IMAP idle when retrieving mail for more than +one account. + +#### Restart Fetchmail + +``` +sudo systemctl restart fetchmail +``` Bobbi Jun 3, 2021