diff --git a/bin/mw b/bin/mw index 6f2e271..cbcda2d 100755 --- a/bin/mw +++ b/bin/mw @@ -94,7 +94,7 @@ prepmutt() { echo "# vim: filetype=neomuttrc # muttrc file for account $fulladdr set realname = \"$realname\" set from = \"$fulladdr\" -set sendmail = \"msmtp -a $fulladdr\" +set sendmail = \"pass show $fulladdr &> /dev/null; msmtp -a $fulladdr\" alias me $realname <$fulladdr> set folder = \"$folder\" set header_cache = $cachedir/$fulladdr/headers @@ -132,7 +132,7 @@ set imap_pass = \"\`pass $fulladdr\`\" set ssl_starttls = yes set ssl_force_tls = yes" ;; - pop) synccmd="macro index o \"mpop $fulladdr\" \"run mpop to get $fulladdr's mail\"" + pop) synccmd="macro index o \"pass show $fulladdr &> /dev/null; mpop $fulladdr\" \"run mpop to get $fulladdr's mail\"" folder="$maildir/$fulladdr" prepmpop ;; *) synccmd="macro index o \"pass show $fulladdr &> /dev/null; mw -y $fulladdr\" \"run mbsync to sync $fulladdr\""