From: martin f. krafft Date: Sat, 28 Aug 2010 14:31:41 +0000 (+0200) Subject: use the from address as envelope sender X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/6e0fbe0a20e45362d6cff2d9d4d7ff3516f98f5e?ds=inline;hp=2f2dbb16f3788978fee78cf718e8660e6a249a5d use the from address as envelope sender --- diff --git a/.mutt/muttrc b/.mutt/muttrc index 3f086d4..29542ac 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4331,6 +4331,7 @@ set tilde=yes # if the ``$sendmail'' variable already contains "-f" or if the # executable pointed to by $sendmail doesn't support the "-f" switch. # +set use_envelope_from=yes # # set use_from=yes # diff --git a/.mutt/sendmail b/.mutt/sendmail index e002a5e..9efaea3 100755 --- a/.mutt/sendmail +++ b/.mutt/sendmail @@ -24,6 +24,6 @@ cat > $TMPFILE args=$(for a in $@; do case "$a" in (*@*) echo "--arg=$a";; esac; done) run-parts --umask=0077 --arg="$TMPFILE" $args -- "$CHECKSDIR" [ "$1" = -- ] && shift -$SENDMAIL -- "$@" < "$TMPFILE" +$SENDMAIL "$@" < "$TMPFILE" cleanup