about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-19 14:05:32 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-19 14:05:32 +0200
commit02383ec51c12edfcc18259380820961881f18a22 (patch)
treea1595c0103d894a0e5738f7ca57a87378fd40b4e /mcom
parent7955efa88e415cd915215b7db01988f27a923417 (diff)
downloadmblaze-02383ec51c12edfcc18259380820961881f18a22.tar.gz
mblaze-02383ec51c12edfcc18259380820961881f18a22.tar.xz
mblaze-02383ec51c12edfcc18259380820961881f18a22.zip
mcom: send attached messages inline and without leaking basename
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcom b/mcom
index 1d73cd8..731981e 100755
--- a/mcom
+++ b/mcom
@@ -106,8 +106,8 @@ echo $draft
 		museragent
 		msgdate
 		printf '\n\n'
-		if [ -n "$raw" ]; then
-			mseq -r "$@" | sed 's:^:#message/rfc822 :'
+		if [ -z "$raw" ]; then
+			mseq -r "$@" | sed 's:^:#message/rfc822#inline :; s:$:>:'
 		else (
 			SEP=-----
 			IFS='