X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/754c5606e8424b0bee621de9d31d186112da46a0..4132348c17d6a911c29984f14f3637addfb6e719:/isync/config diff --git a/isync/config b/isync/config index 566e55f..ce7eb95 100644 --- a/isync/config +++ b/isync/config @@ -7,8 +7,10 @@ CopyArrivalDate yes IMAPAccount gmail Host imap.gmail.com User samir.benmendil@gmail.com -PassCmd "sed -rn '/imap.gmail.com/ s/.*password (.*)/\\1/p' ~/.netrc" +PassCmd "sed -En '/imap.gmail.com.*samir.benmendil@gmail.com/ s/.*password (.*)/\\1/p' ~/.netrc" +AuthMechs LOGIN SSLType IMAPS +SSLVersion SSLv3 CertificateFile /etc/ssl/certs/ca-certificates.crt IMAPStore gmail-remote @@ -68,3 +70,58 @@ Channel gmail-sent Channel gmail-spam Channel gmail-flagged Channel gmail-bin + +IMAPAccount fpp +Host imap.gmail.com +User samir@fppnt.com +PassCmd "sed -En '/imap.gmail.com.*samir@fppnt.com/ s/.*password (.*)/\\1/p' ~/.netrc" +AuthMechs LOGIN +SSLType IMAPS +SSLVersion SSLv3 +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore fpp-remote +Account fpp + +MaildirStore fpp-local +Path ~/mail/fpp/ +Inbox ~/mail/fpp/inbox/ +SubFolders Verbatim + +Channel fpp-default +Master :fpp-remote: +Slave :fpp-local: +Patterns "INBOX" + +Channel fpp-archive +Master :fpp-remote:"[Gmail]/All Mail" +Slave :fpp-local:"archive" + +Channel fpp-drafts +Master :fpp-remote:"[Gmail]/Drafts" +Slave :fpp-local:"drafts" + +Channel fpp-sent +Master :fpp-remote:"[Gmail]/Sent Mail" +Slave :fpp-local:"sent" + +Channel fpp-spam +Master :fpp-remote:"[Gmail]/Spam" +Slave :fpp-local:"spam" + +Channel fpp-flagged +Master :fpp-remote:"[Gmail]/Starred" +Slave :fpp-local:"flagged" + +Channel fpp-bin +Master :fpp-remote:"[Gmail]/Bin" +Slave :fpp-local:"bin" + +Group fpp +Channel fpp-default +Channel fpp-archive +Channel fpp-drafts +Channel fpp-sent +Channel fpp-spam +Channel fpp-flagged +Channel fpp-bin