From 146c87635ef71409910b737a4c205bc14649a6d7 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:58:18 +0400 Subject: [PATCH] add new account offlineimap --- config/emacs/.offlineimaprc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/config/emacs/.offlineimaprc b/config/emacs/.offlineimaprc index b02de929..ab5d0d12 100644 --- a/config/emacs/.offlineimaprc +++ b/config/emacs/.offlineimaprc @@ -1,6 +1,6 @@ [general] pythonfile = ~/.offlineimap.py -accounts = Proton, Outlook, Gmail-personal-1, Gmail-personal-2, li +accounts = Proton, Outlook, Gmail-personal-1, Gmail-personal-2, dev, li socktimeout = 60 [Account Proton] @@ -92,6 +92,24 @@ oauth2_refresh_token_eval = get_client_refresh_token("accounts.google.com/two") # Google IMAP weirdness nametrans = lambda f: f.replace('[Gmail]/', '') if f.startswith('[Gmail]/') else f +[Account sako] +localrepostiory = sako-local +remoterepostiory = sako-remote +proxy = SOCKS5:localhost:9050 + +[Repository sako-local] +type = Maildir +localfolders = ~/.mail/sako + +[Repository sako-remote] +type = IMAP +ssl = yes +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +host = mail.cock.li +port = 993 +user = sako@cock.email +remotepasseval = get_pass("email/sako@cock.email") + [Account li] localrepository = li-local remoterepository = li-remote