Sören Tempel
55035ad8b2
mcom: check if a draft was found when invoking mcom -r
...
Without this patch `mcom -r` would invoke $EDITOR on a directory if the
maildir did not contain any drafts. To prevent this from happening,
check if a draft was found before performing any further processing. If
not, terminate mcom with an error message.
Closes : #169 [via git-merge-pr]
2020-01-12 16:55:07 +01:00
Leah Neukirchen
6705b3ee29
mfwd: prefix Subject with "Fwd:"
...
Idea by Larry Hynes. Although no classical mail clients use Fwd:
prefix, it has been around for some time.
2020-01-08 11:09:55 +01:00
Leah Neukirchen
68272afcba
mcom: use file --mime instead of file -i
...
This also works on macOS.
Closes #162 .
2019-05-21 11:37:21 +02:00
codesoap
33a6c48fb6
mcom: Quote one more variable
2019-02-06 21:11:29 +01:00
codesoap
d164496e09
mcom: Quote two more variables
...
Before quoting these two variables I experienced problems when
trying to use the "encrypt" option while using mcom.
2019-02-06 21:11:29 +01:00
Leah Neukirchen
1aa4977f71
mcom: decode address for Reply-To: and To: header
...
mmime will recode again if required.
2019-02-06 17:32:13 +01:00
Leah Neukirchen
9d280aa8a3
mcom: do_mime: fix for loop quoting
2019-02-05 09:49:59 +01:00
codesoap
d68287aae5
mcom: Quote variables and subshells whenever possible
2019-02-03 19:57:14 +01:00
Leah Neukirchen
5a2c6747b6
mcom: check if mail is formatted sensibly
2019-02-01 15:08:20 +01:00
Leah Neukirchen
a6f48fe371
mcom: add -send
2019-01-29 13:10:25 +01:00
Leah Neukirchen
3c6f5c3cee
mcom: enter the loop again when we should run mime, another place
2019-01-12 16:14:12 +01:00
Leah Neukirchen
577b4497e4
mcom: enter the loop again when we should run mime
2019-01-12 16:12:12 +01:00
Leah Neukirchen
30fba2bcfd
mcom: automime can be empty
2019-01-12 16:11:57 +01:00
Leah Neukirchen
d6c2470ad1
mcom: check drafts exist, and ensure they contain a /
2019-01-12 16:11:46 +01:00
Leah Neukirchen
ae720c51e0
mrep: add -noquote
...
Closes #139 .
2019-01-02 18:29:27 +01:00
Leah Neukirchen
4235c384ab
mcom: aborting the editor is more like delete than cancel
2018-11-14 17:07:03 +01:00
Leah Neukirchen
5294c374df
mcom: whitespace fixes
2018-08-15 17:01:06 +02:00
Leah Neukirchen
eca1ff8087
mrep: don't put To: into Cc:, don't duplicate addresses in Cc:
2018-08-13 13:18:22 +02:00
Leah Neukirchen
ebaf9e2df2
mcom: detect Attach: headers for automiming
2018-07-16 13:09:20 +02:00
Leah Neukirchen
5f250330cb
mcom: update flags after mrep/mbnc/mfwd
2018-04-17 15:13:32 +02:00
Leah Neukirchen
14a2c978db
mcom: mark drafts as seen after sending
2018-04-17 15:06:36 +02:00
Leah Neukirchen
64da4ff0fa
mcom: add -body to prepopulate drafts
2018-03-10 22:28:41 +01:00
Leah Neukirchen
f83a6fea9a
mcom: ensure no empty header lines are generated in mrep
2018-03-02 20:43:57 +01:00
Leah Neukirchen
372450cd70
mcom: cleanup
2018-03-02 20:42:27 +01:00
Leah Neukirchen
c49c0b4a56
mcom: revamp argument parsing, allow setting arbitrary headers from command line
2018-02-27 15:14:29 +01:00
Leah Neukirchen
4b9e7f5952
mcom: put newline in a variable
2018-02-26 16:57:23 +01:00
Leah Neukirchen
c12fd15d3f
mcom: fix $draftmime for when not using outbox
2018-02-26 15:51:22 +01:00
Leah Neukirchen
dd6915d47e
mcom: strip empty headers after editing
2018-01-07 21:32:48 +01:00
Leah Neukirchen
6f3fa0d78b
mcom: avoid xargs
2018-01-06 22:53:23 +01:00
Leah Neukirchen
88a87a361a
add mbnc to bounce messages
2018-01-06 19:17:49 +01:00
Leah Neukirchen
75ba2ab9a5
mcom: automatically run mmime when deemed necessary
2017-09-22 14:53:30 +02:00
Larry Hynes
7fd982d172
mcom: dreaft -> draft
...
Closes : #69 [via git-merge-pr]
2017-07-27 14:10:40 +02:00
Leah Neukirchen
73d80d80f9
mrep: avoid initial space for References:
...
This triggered qp-encoding, which is not allowed for this header.
2017-07-12 21:11:53 +02:00
Wolfgang Jenkner
b0d61b8275
mcom: fix non-POSIX sed usage
2017-07-08 20:48:20 +02:00
Leah Neukirchen
2db5551a7e
mcom: add Date: header before submission, or when cancelling a draft
2017-06-29 14:31:02 +02:00
Leah Neukirchen
c125256132
mcom: integrate msign and mencrypt
2017-06-19 17:17:20 +02:00
Leah Neukirchen
1eef4b729a
mcom: remove debugging output
2017-06-19 17:06:58 +02:00
Leah Neukirchen
02383ec51c
mcom: send attached messages inline and without leaking basename
2017-06-19 14:05:32 +02:00
Leah Neukirchen
7955efa88e
mcom: don't limit column width for subjects
2017-06-19 14:05:13 +02:00
Leah Neukirchen
eeacad9fd8
mcom: add -r to resume editing drafts
2017-06-19 14:00:29 +02:00
Leah Neukirchen
2939be9f34
mcom: add mfwd command to forward messages
2017-06-18 17:48:24 +02:00
Leah Neukirchen
84ae9a72b1
mcom: use museragent
2017-06-01 14:57:27 +02:00
Leah Neukirchen
df7cd7249c
mcom: commajoin: use awk
...
The sed solution did not work with OpenBSD sed and Plan9 sed when only
one line was used.
2017-05-26 15:44:31 +02:00
Leah Neukirchen
2895704eee
mcom: only generate multipart mime mails when using attachments
2017-04-16 19:38:51 +02:00
Leah Neukirchen
07a60a3908
mrep: don't put our own addresses into Cc:
...
Closes #26 .
2017-04-09 22:49:17 +02:00
Leah Neukirchen
f771d062a5
mcom: use printf instead of echo
...
Fixes #19 .
2017-03-26 20:43:15 +02:00
leovilok
f4a3feb70a
mblaze: don't make $draft look like a sequence
...
Make sure $draft look like a file by prefixing it with "./", to avoid errors when we call other programs like msed.
2017-02-17 13:53:41 +01:00
Christian Neukirchen
cd255e0bc6
mcom: very elementary NNTP posting support
2016-09-25 21:30:20 +02:00
Ivy Foster
7b5055f7ab
mcom: allow user to specify sendmail, sendmail-args in $MBLAZE/profile
...
Closes : #6 [via git-merge-pr]
2016-09-04 18:20:33 +02:00
Ivy Foster
b9f09fc581
mcom: draft messages in $outbox/cur/, not $outbox/new/
2016-09-04 18:20:33 +02:00