nixos/config/emacs/.offlineimaprc

20 lines
539 B
Text
Raw Normal View History

2024-09-23 11:50:35 +04:00
[general]
pythonfile = ~/.offlineimap.py
accounts = Proton
[Account Proton]
localrepository = Proton-local
remoterepository = Proton-remote
[Repository Proton-local]
type = Maildir
localfolders = ~/Mail/Proton
[Repository Proton-remote]
type = IMAP
ssl = no
remotehost = 127.0.0.1
remoteport = 1143
remoteusereval = get_user("Proton\ Account")
remotepasseval = hydroxide("/home/sako/.hydroxide-bridge-pass")
folderfilter = lambda foldername: foldername in [ "All Mail", "Archive", "Drafts", "INBOX", "Sent", "Spam", "Starred", "Trash" ]