add new account offlineimap

This commit is contained in:
Sakooooo 2024-11-07 16:58:18 +04:00
parent 80f3f15cf0
commit 146c87635e
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -1,6 +1,6 @@
[general] [general]
pythonfile = ~/.offlineimap.py 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 socktimeout = 60
[Account Proton] [Account Proton]
@ -92,6 +92,24 @@ oauth2_refresh_token_eval = get_client_refresh_token("accounts.google.com/two")
# Google IMAP weirdness # Google IMAP weirdness
nametrans = lambda f: f.replace('[Gmail]/', '') if f.startswith('[Gmail]/') else f 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] [Account li]
localrepository = li-local localrepository = li-local
remoterepository = li-remote remoterepository = li-remote