summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-10-05 20:27:19 +0200
committerintrigeri <intrigeri@boum.org>2012-10-05 20:27:19 +0200
commit1f500a9234f3dc71a06dbeacf366c3cf27fb9445 (patch)
tree1d55550cbd496d13fb4559ac92914e540106ab75
parentaca0c78b5907e5e8d6091f8833ce72c719f697dd (diff)
Import bugfix from upstream Git: Tell mutt *not* to save outgoing email (Closes: #657071).
-rw-r--r--debian/patches/0002-Tell-mutt-not-to-save-outgoing-email.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0002-Tell-mutt-not-to-save-outgoing-email.patch b/debian/patches/0002-Tell-mutt-not-to-save-outgoing-email.patch
new file mode 100644
index 0000000..ba8e27d
--- /dev/null
+++ b/debian/patches/0002-Tell-mutt-not-to-save-outgoing-email.patch
@@ -0,0 +1,22 @@
+From: intrigeri <intrigeri@boum.org>
+Date: Fri, 5 Oct 2012 19:58:42 +0200
+Subject: Tell mutt *not* to save outgoing email.
+
+This fixes Debian bug #657071.
+---
+ metche | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/metche b/metche
+index ef1983e..e3836c4 100755
+--- a/metche
++++ b/metche
+@@ -82,7 +82,7 @@ add_header() {
+ _mail() {
+ local subject="$1"
+ if which mutt > /dev/null ; then
+- LC_ALL="$LOCALE" mutt -F/dev/null -s "$subject" "$EMAIL_ADDRESS"
++ LC_ALL="$LOCALE" mutt -F/dev/null -e 'set record="/dev/null"' -s "$subject" "$EMAIL_ADDRESS"
+ elif which mail > /dev/null ; then
+ LC_ALL="$LOCALE" mail -s "$subject" "$EMAIL_ADDRESS"
+ elif [ -x /usr/sbin/sendmail ]; then
diff --git a/debian/patches/series b/debian/patches/series
index a7a60e4..ed85353 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Bypass-root-s-mutt-configuration-file.patch
+0002-Tell-mutt-not-to-save-outgoing-email.patch