Parcourir la source

Changes for sendmail

Runs pass show and directs its output to /dev/null trying to send mail
pull/830/head
cantcuckthis il y a 2 ans
committed by GitHub
Parent
révision
07cd3fc40c
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      bin/mw

+ 2
- 2
bin/mw Voir le fichier

@@ -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 \"<shell-escape>mpop $fulladdr<enter>\" \"run mpop to get $fulladdr's mail\""
pop) synccmd="macro index o \"<shell-escape>pass show $fulladdr &> /dev/null; mpop $fulladdr<enter>\" \"run mpop to get $fulladdr's mail\""
folder="$maildir/$fulladdr"
prepmpop ;;
*) synccmd="macro index o \"<shell-escape>pass show $fulladdr &> /dev/null; mw -y $fulladdr<enter>\" \"run mbsync to sync $fulladdr\""


Chargement…
Annuler
Enregistrer