X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=email%2F.config%2Fofflineimap%2Fconfig;h=42d5b4b7837b86dd63f24eb4674935cba641bb02;hb=HEAD;hp=5dcf2ae7c3f78237d30602b5402574e2deaf0644;hpb=98ef8dd720b8a4c6a3a19be3d5b4972188951967;p=dotfiles.git diff --git a/email/.config/offlineimap/config b/email/.config/offlineimap/config index 5dcf2ae..47be912 100644 --- a/email/.config/offlineimap/config +++ b/email/.config/offlineimap/config @@ -1,37 +1,59 @@ [general] -pythonfile = ~/.config/offlineimap/offlineimap.py -metadata = ~/.mutt/offlineimap_meta -accounts = net +metadata = ~/.local/share/offlineimap +accounts = net,ru ui = blinkenlights +pythonfile = ~/.config/offlineimap/offlineimap.py + +[mbnames] +enabled = yes +filename = ~/.local/share/offlineimap/mailboxes +header = "mailboxes " +peritem = "~/.local/share/offlineimap/mail/%(accountname)s/%(foldername)s/" +sep = " " +footer = "\n" +incremental = yes [Account net] -localrepository = Local -remoterepository = Remote -autorefresh = 0.5 +localrepository = netLocal +remoterepository = netRemote +autorefresh = 6 quick = 10 -postsynchook = notmuch new && /home/mrl/.mutt/newmail.sh && vdirsyncer sync -#proxy = SOCKS5:localhost:8008 +postsynchook = newmail.sh + +[Account ru] +localrepository = ruLocal +remoterepository = ruRemote +autorefresh = 6 +quick = 10 +postsynchook = newmail.sh + +[Repository netLocal] +type = Maildir +localfolders = ~/.local/share/offlineimap/mail/net -[Repository Local] +[Repository ruLocal] type = Maildir -localfolders = ~/.mutt/mail +localfolders = ~/.local/share/offlineimap/mail/ru -[Repository Remote] +[Repository netRemote] type = IMAP folderfilter = lambda x: folderfilter(x) -remotepasseval = mailpasswd() +remotepasseval = mailpasswdnet() remotehost = lubbers.email remoteuser = mart@martlubbers.net ssl = yes sslcacertfile = /etc/ssl/certs/ca-certificates.crt keepalive = 60 holdconnectionopen = yes +idlefolders = ['INBOX'] -[mbnames] -enabled = yes -filename = ~/.mutt/mailboxes -header = "mailboxes " -peritem = "~/.mutt/mail/%(foldername)s/" -sep = " " -footer = "\n" -incremental = yes +[Repository ruRemote] +type = IMAP +remotepasseval = mailpasswdru() +remotehost = post.science.ru.nl +remoteuser = mlubbers +ssl = yes +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +keepalive = 60 +holdconnectionopen = yes +idlefolders = ['INBOX']