cache less dumb
This commit is contained in:
parent
217bbe8c96
commit
87154efa6f
10
bin/mw
10
bin/mw
@ -64,8 +64,8 @@ set from = \"$fulladdr\"
|
|||||||
set sendmail = \"/usr/bin/msmtp -a $title\"
|
set sendmail = \"/usr/bin/msmtp -a $title\"
|
||||||
alias me $realname <$fulladdr>
|
alias me $realname <$fulladdr>
|
||||||
set folder = \"$maildir/$title\"
|
set folder = \"$maildir/$title\"
|
||||||
set header_cache = $cachedir/$title/cache/headers
|
set header_cache = $cachedir/$title/headers
|
||||||
set message_cachedir = $cachedir/$title/cache/bodies
|
set message_cachedir = $cachedir/$title/bodies
|
||||||
set mbox_type = Maildir
|
set mbox_type = Maildir
|
||||||
|
|
||||||
bind index,pager gg noop
|
bind index,pager gg noop
|
||||||
@ -85,8 +85,8 @@ set sendmail = \"/usr/bin/msmtp -a $title\"
|
|||||||
alias me $realname <$fulladdr>
|
alias me $realname <$fulladdr>
|
||||||
set folder = \"imaps://$fulladdr@$imap:$iport\"
|
set folder = \"imaps://$fulladdr@$imap:$iport\"
|
||||||
set imap_user = \"$login\"
|
set imap_user = \"$login\"
|
||||||
set header_cache = $cachedir/$title/cache/headers
|
set header_cache = $cachedir/$title/headers
|
||||||
set message_cachedir = $cachedir/$title/cache/bodies
|
set message_cachedir = $cachedir/$title/bodies
|
||||||
set imap_pass = \`pass mutt-wizard-$title\`
|
set imap_pass = \`pass mutt-wizard-$title\`
|
||||||
|
|
||||||
set mbox_type = Maildir
|
set mbox_type = Maildir
|
||||||
@ -152,7 +152,7 @@ EOF
|
|||||||
[ -z "$login" ] && login="$fulladdr"
|
[ -z "$login" ] && login="$fulladdr"
|
||||||
getpass
|
getpass
|
||||||
getprofiles
|
getprofiles
|
||||||
mkdir -p "$muttdir" "$accdir/$title" "$cachedir/$title/cache/bodies" "$HOME/.config/msmtp"
|
mkdir -p "$muttdir" "$accdir/$title" "$cachedir/$title/bodies" "$HOME/.config/msmtp"
|
||||||
getaccounts
|
getaccounts
|
||||||
for x in $(seq 1 9); do echo "$accounts" | grep "$x" >/dev/null 2>&1 || { export idnum="$x"; break ;}; done
|
for x in $(seq 1 9); do echo "$accounts" | grep "$x" >/dev/null 2>&1 || { export idnum="$x"; break ;}; done
|
||||||
[ ! -f "$HOME/.config/msmtp/config" ] && echo "$msmtp_header" > "$HOME/.config/msmtp/config"
|
[ ! -f "$HOME/.config/msmtp/config" ] && echo "$msmtp_header" > "$HOME/.config/msmtp/config"
|
||||||
|
Loading…
Reference in New Issue
Block a user