diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-06-19 14:05:32 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-06-19 14:05:32 +0200 |
commit | 02383ec51c12edfcc18259380820961881f18a22 (patch) | |
tree | a1595c0103d894a0e5738f7ca57a87378fd40b4e /mcom | |
parent | 7955efa88e415cd915215b7db01988f27a923417 (diff) | |
download | mblaze-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-x | mcom | 4 |
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=' |