X-Git-Url: https://git.madduck.net/etc/neomutt.git/blobdiff_plain/4d1afcd5cc3e282554877a10d6be81931ef0cc03..347f4c98a022cec43f827b1d7b51640e4d89c196:/.config/neomutt/sendmail-checks.d/ack-recipients?ds=sidebyside diff --git a/.config/neomutt/sendmail-checks.d/ack-recipients b/.config/neomutt/sendmail-checks.d/ack-recipients index 350ec44..a7e616f 100755 --- a/.config/neomutt/sendmail-checks.d/ack-recipients +++ b/.config/neomutt/sendmail-checks.d/ack-recipients @@ -3,11 +3,11 @@ # ack-recipients – require double-checking of some recipients # # refuse to send a mail as long as recipients listed in -# ~/.config/mutt/ack-recipients are not individually "signed-off" by adding +# ~/.config/neomutt/ack-recipients are not individually "signed-off" by adding # their e-mail addresses to the X-Acked header. This header is removed from # the mail before it is sent. # -# The file ~/.config/mutt/ack-recipients stores sha256sums of lower-cased +# The file ~/.config/neomutt/ack-recipients stores sha256sums of lower-cased # e-mail addresses (no newline) instead of the addresses themselves as a # measure to protect privacy. You can get new lines like this: # @@ -22,7 +22,7 @@ # set -eu -CHECKLIST="$HOME/.config/mutt/ack-recipients" +CHECKLIST="${0%/*}/../ack-recipients" HEADER=X-Acked ACKED_RCPTS=$(formail -czx ${HEADER}: < $1 | sed -re 's/,\s*/ /g' | tr '[[:upper:]]' '[[:lower:]]') MAILFILE="$1"; shift