about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-07-16 13:09:20 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-07-16 13:09:20 +0200
commitebaf9e2df23775eff5d594c94d0f04b933530ff7 (patch)
tree8fef1dcb8a874c9dddadc85d10c96a6b0aa29fe9 /mcom
parent0d397f6790a36cc734261efdd0c80d33cbd7fb45 (diff)
downloadmblaze-ebaf9e2df23775eff5d594c94d0f04b933530ff7.tar.gz
mblaze-ebaf9e2df23775eff5d594c94d0f04b933530ff7.tar.xz
mblaze-ebaf9e2df23775eff5d594c94d0f04b933530ff7.zip
mcom: detect Attach: headers for automiming
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcom b/mcom
index b9a524c..c66abea 100755
--- a/mcom
+++ b/mcom
@@ -407,7 +407,7 @@ while :; do
 			c=c
 		fi
 		stripempty $draft
-		if mmime -c <$draft; then
+		if mmime -c <$draft && ! needs_multipart $draft; then
 			automime=
 		else
 			automime=1