diff options
author | Tom Willemse | 2014-08-26 10:44:53 +0200 |
---|---|---|
committer | Tom Willemse | 2014-08-26 10:45:38 +0200 |
commit | 16d15b2b21e667f3c5fc77c270756ce7b246bd47 (patch) | |
tree | de5a35b33a31fcd848478cac4d670d559bff54f3 /offlineimap | |
parent | 62d9ac00b3ef4396723870082b5ad717f7969bc2 (diff) | |
download | dotfiles-16d15b2b21e667f3c5fc77c270756ce7b246bd47.tar.gz dotfiles-16d15b2b21e667f3c5fc77c270756ce7b246bd47.zip |
Add picturefix mail settings
- Add a mail indicator to the Awesome wibox.
- Add a mailbox to Gnus
- Add account information to OfflineIMAP
Diffstat (limited to 'offlineimap')
-rw-r--r-- | offlineimap/.offlineimaprc | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc index 4535ccd..6e303df 100644 --- a/offlineimap/.offlineimaprc +++ b/offlineimap/.offlineimaprc @@ -2,7 +2,7 @@ [general] # NOTE: cronjob calls the quiet UI with -u ui = TTYUI -accounts = ryuslash.org,gmail,aethon,ninthfloor +accounts = ryuslash.org,picturefix,gmail,ninthfloor pythonfile = ~/.offlineimap.py [Account ryuslash.org] @@ -22,6 +22,24 @@ remoteusereval = getuser("imap.alwaysdata.com") remotepasseval = getpassword("imap.alwaysdata.com") nametrans = lambda folder: folder.lower() +[Account picturefix] +localrepository = picturefix-local +remoterepository = picturefix-remote + +[Repository picturefix-local] +type = Maildir +localfolders = ~/documents/mail/picturefix +nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub('^drafts$', '[Gmail]/Concepten', re.sub('^sent$', '[Gmail]/Verzonden berichten', re.sub('^trash$', '[Gmail]/Prullenbak', folder)))) + +[Repository picturefix-remote] +type = Gmail +remoteusereval = getuser("imap.google.com-picturefix") +remotepasseval = getpassword("imap.google.com-picturefix") +realdelete = no +cert_fingerprint = db7f2df48f9e94503a8497ae417312a3a5875f96 +folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Concepten', '[Gmail]/Verzonden berichten', '[Gmail]/Prullenbak'] +nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/Concepten$', 'drafts', re.sub('^\[Gmail\]/Verzonden berichten$', 'sent', re.sub('^\[Gmail\]/Prullenbak$', 'trash', folder)))) + [Account aethon] localrepository = aethon-local remoterepository = aethon-remote |