dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit c3df21c2d6421933e9081a4120e66a348ec0d671
parent 92d26a062d0fbd0ce08db5d8821f2544c62f5ee8
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Sat, 21 Feb 2015 00:03:42 +0200

offlineimap: Init .offlineimaprc

Initialize offlineimaprc and clean up muttrc a bit

Diffstat:
.muttrc | 10+++++-----
.offlineimaprc | 35+++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 5 deletions(-)

diff --git a/.muttrc b/.muttrc @@ -4,12 +4,12 @@ set imap_user = XXXXX set from = XXXXX set use_from = yes -# Folder/Url settings -set folder = imaps://url.com:993 +# Using offlineimap for this +set folder=~/mail/ +set mbox_type=Maildir +source ~/.mutt/mailboxes + set smtp_url = smtp://username@smtps.url.gr:587 -set spoolfile = +INBOX -mailboxes =INBOX -set record = +sent set ssl_starttls = yes set ssl_force_tls = yes diff --git a/.offlineimaprc b/.offlineimaprc @@ -0,0 +1,35 @@ +[general] +accounts = grnet +fsync = false + +[Account grnet] +localrepository = grnet-local +remoterepository = grnet-remote +status_backend = sqlite +autorefresh = 1 + +[Repository grnet-local] +type = Maildir +localfolders = ~/mail/grnet +sep = "/" + +[Repository grnet-remote] +type = IMAP +remotehost = xxx +remoteport = 993 +remoteuser = yyy +ssl = yes +keepalive = 60 +holdconnectionopen = yes +folderfilter = lambda folder: folder in ['INBOX', + 'xxx', + 'yyy', + 'Sent'] + +[mbnames] +enabled = yes +filename = ~/.mutt/mailboxes +header = "mailboxes " +peritem = "+%(accountname)s/%(foldername)s" +sep = " " +footer = "\n"