Commit Graph

57 Commits (8c9e0aae050aeac8694fbcca23f2d82d459a3b48)

Author SHA1 Message Date
Duncan Overbruck dc15a75b63 mcom: add preview alias for show command 4 years ago
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]
4 years ago
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.
4 years ago
Leah Neukirchen 68272afcba mcom: use file --mime instead of file -i
This also works on macOS.

Closes #162.
5 years ago
codesoap 33a6c48fb6 mcom: Quote one more variable 5 years ago
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.
5 years ago
Leah Neukirchen 1aa4977f71 mcom: decode address for Reply-To: and To: header
mmime will recode again if required.
5 years ago
Leah Neukirchen 9d280aa8a3 mcom: do_mime: fix for loop quoting 5 years ago
codesoap d68287aae5 mcom: Quote variables and subshells whenever possible 5 years ago
Leah Neukirchen 5a2c6747b6 mcom: check if mail is formatted sensibly 5 years ago
Leah Neukirchen a6f48fe371 mcom: add -send 5 years ago
Leah Neukirchen 3c6f5c3cee mcom: enter the loop again when we should run mime, another place 5 years ago
Leah Neukirchen 577b4497e4 mcom: enter the loop again when we should run mime 5 years ago
Leah Neukirchen 30fba2bcfd mcom: automime can be empty 5 years ago
Leah Neukirchen d6c2470ad1 mcom: check drafts exist, and ensure they contain a / 5 years ago
Leah Neukirchen ae720c51e0 mrep: add -noquote
Closes #139.
5 years ago
Leah Neukirchen 4235c384ab mcom: aborting the editor is more like delete than cancel 6 years ago
Leah Neukirchen 5294c374df mcom: whitespace fixes 6 years ago
Leah Neukirchen eca1ff8087 mrep: don't put To: into Cc:, don't duplicate addresses in Cc: 6 years ago
Leah Neukirchen ebaf9e2df2 mcom: detect Attach: headers for automiming 6 years ago
Leah Neukirchen 5f250330cb mcom: update flags after mrep/mbnc/mfwd 6 years ago
Leah Neukirchen 14a2c978db mcom: mark drafts as seen after sending 6 years ago
Leah Neukirchen 64da4ff0fa mcom: add -body to prepopulate drafts 6 years ago
Leah Neukirchen f83a6fea9a mcom: ensure no empty header lines are generated in mrep 6 years ago
Leah Neukirchen 372450cd70 mcom: cleanup 6 years ago
Leah Neukirchen c49c0b4a56 mcom: revamp argument parsing, allow setting arbitrary headers from command line 6 years ago
Leah Neukirchen 4b9e7f5952 mcom: put newline in a variable 6 years ago
Leah Neukirchen c12fd15d3f mcom: fix $draftmime for when not using outbox 6 years ago
Leah Neukirchen dd6915d47e mcom: strip empty headers after editing 6 years ago
Leah Neukirchen 6f3fa0d78b mcom: avoid xargs 6 years ago
Leah Neukirchen 88a87a361a add mbnc to bounce messages 6 years ago
Leah Neukirchen 75ba2ab9a5 mcom: automatically run mmime when deemed necessary 7 years ago
Larry Hynes 7fd982d172 mcom: dreaft -> draft
Closes: #69 [via git-merge-pr]
7 years ago
Leah Neukirchen 73d80d80f9 mrep: avoid initial space for References:
This triggered qp-encoding, which is not allowed for this header.
7 years ago
Wolfgang Jenkner b0d61b8275 mcom: fix non-POSIX sed usage 7 years ago
Leah Neukirchen 2db5551a7e mcom: add Date: header before submission, or when cancelling a draft 7 years ago
Leah Neukirchen c125256132 mcom: integrate msign and mencrypt 7 years ago
Leah Neukirchen 1eef4b729a mcom: remove debugging output 7 years ago
Leah Neukirchen 02383ec51c mcom: send attached messages inline and without leaking basename 7 years ago
Leah Neukirchen 7955efa88e mcom: don't limit column width for subjects 7 years ago
Leah Neukirchen eeacad9fd8 mcom: add -r to resume editing drafts 7 years ago
Leah Neukirchen 2939be9f34 mcom: add mfwd command to forward messages 7 years ago
Leah Neukirchen 84ae9a72b1 mcom: use museragent 7 years ago
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.
7 years ago
Leah Neukirchen 2895704eee mcom: only generate multipart mime mails when using attachments 7 years ago
Leah Neukirchen 07a60a3908 mrep: don't put our own addresses into Cc:
Closes #26.
7 years ago
Leah Neukirchen f771d062a5 mcom: use printf instead of echo
Fixes #19.
7 years ago
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.
7 years ago
Christian Neukirchen cd255e0bc6 mcom: very elementary NNTP posting support 8 years ago
Ivy Foster 7b5055f7ab mcom: allow user to specify sendmail, sendmail-args in $MBLAZE/profile
Closes: #6 [via git-merge-pr]
8 years ago