From d021a581919d142a873ecc77ce03b11fbc38e548 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 7 Aug 2014 15:58:16 +0300 Subject: add mutt idle for instant email --- mutt/notify.sh | 2 +- muttrc | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/mutt/notify.sh b/mutt/notify.sh index d8fd6cc..4dbc0f6 100755 --- a/mutt/notify.sh +++ b/mutt/notify.sh @@ -21,7 +21,7 @@ then touch ~/.mutt/newmail else xset -led 1 -if [ -e ~/.mutt/newmai ];then +if [ -e ~/.mutt/newmail ];then rm ~/.mutt/newmail fi fi diff --git a/muttrc b/muttrc index dbdb8fb..c24872f 100644 --- a/muttrc +++ b/muttrc @@ -1,6 +1,3 @@ -# Load passwords -#source "gpg2 -dq $HOME/.mutt/pass.gpg |" - # Source source ~/.mutt/sol.muttrc source ~/.mutt/crypto.rc @@ -39,8 +36,12 @@ set realname = "Vasil Zlatanov" set editor = "vim" # Basic config, you can leave this as is -set mail_check = 3 -set timeout = 15 +set imap_idle +set imap_check_subscribed +unset imap_passive +unset imap_peek +set mail_check = 600 +set timeout = 300 unset imap_passive set header_cache=~/.muttlocal/cache/headers set message_cachedir=~/.muttlocal/cache/bodies -- cgit v1.2.3-54-g00ecf