Add mail stuff, probably update for focal

This commit is contained in:
trémeur 2021-10-28 22:09:40 +01:00
parent 814aae0019
commit b00f513d77
3 changed files with 40 additions and 19 deletions

23
dots/.offlineimaprc Normal file
View file

@ -0,0 +1,23 @@
[general]
accounts = Gmail
maxsyncaccounts = 1
[Account Gmail]
localrepository = LocalGmail
remoterepository = RepositoryGmail
autorefresh = 5
quick = 10
postsynchook = mu index --maildir ~/Maildir
[Repository LocalGmail]
type = Maildir
localfolders = ~/Maildir/Gmail
[Repository RepositoryGmail]
type = Gmail
maxconnections = 2
remoteuser = eheu48
remotepass = # to be added
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important', '[Gmail]/Tous les messages', '[Gmail]/Spam']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
# sslcacertfile = OS-DEFAULT