Import bugfix from upstream Git: Tell mutt *not* to save outgoing email (Closes: #657071).
intrigeri
11 years ago
0 | From: intrigeri <intrigeri@boum.org> | |
1 | Date: Fri, 5 Oct 2012 19:58:42 +0200 | |
2 | Subject: Tell mutt *not* to save outgoing email. | |
3 | ||
4 | This fixes Debian bug #657071. | |
5 | --- | |
6 | metche | 2 +- | |
7 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
8 | ||
9 | diff --git a/metche b/metche | |
10 | index ef1983e..e3836c4 100755 | |
11 | --- a/metche | |
12 | +++ b/metche | |
13 | @@ -82,7 +82,7 @@ add_header() { | |
14 | _mail() { | |
15 | local subject="$1" | |
16 | if which mutt > /dev/null ; then | |
17 | - LC_ALL="$LOCALE" mutt -F/dev/null -s "$subject" "$EMAIL_ADDRESS" | |
18 | + LC_ALL="$LOCALE" mutt -F/dev/null -e 'set record="/dev/null"' -s "$subject" "$EMAIL_ADDRESS" | |
19 | elif which mail > /dev/null ; then | |
20 | LC_ALL="$LOCALE" mail -s "$subject" "$EMAIL_ADDRESS" | |
21 | elif [ -x /usr/sbin/sendmail ]; then |