On 10Jul2015 21:33, spaceman <space...@antispaceman.com> wrote:
This workflow completely obviates any need to use "postponed" for a message
which is complete.
I like it! No need for a separate outbox with postfix being the outbox
itself. That's the fire-and-forget workflow I'm looking for.
Just to point out that msmtp has similar functionality to this
although it's be more messy but it doesn't require you to run a full
blown MTA. There are plenty of scripts bundled with msmtp that detect
if your online and then queue the message if you are not. The one I
like is called msmtpq, which once configured is quite nice (even if it
is a bit fiddly to start with). Make sure you grab the latest version
as previous versions were buggy. The one disadvantage is that you have
to set it up as a cron (which some people don't like) which you don't
have with Postfix.
The other advantage of postfix (or any other MTA) is that enables outbound
email for everything else on your machine, not just mutt. Email from cron and
all of the other things that can notify by email.
Besides, the Mac ships with postfix installed. All you need to do is configure
it and you're good to go. And most other UNIX systems ship with a proper MTA,
be it postfix, exim, sendmail, qmail. Just configure and go!
Aside: Email is underused. For example, I have a wrapper script called
mail-on-error which emails a command's stderr if the command exists non-zero.
very handy in batch scripts. Further, I have a wrapper script called "OK" which
reports "OK" or "FAIL" for a command, useful in batch scripts again:
OK run 1
FAIL run 2
OK run 3
etc is very useful for review. And if the envvar $EMAIL is set it automatically
wraps the command further in mail-on-error, getting "FAIL blah" reports in my
inbox. And all one has to do to a batch job is modify specific commands from:
command args...
to:
OK command args...
Anyway, this all contributes to my recommendation of running a proper local
mail system - they are very useful things.
Cheers,
Cameron Simpson <c...@zip.com.au>
"My manner of thinking, so you say, cannot be approved. Do you suppose I
care? A poor fool indeed is he who adopts a manner of thinking for others!
My manner of thinking stems straight from my considered reflections; it
holds with my existence, with the way I am made. It is not in my power to
alter it; and were it, I'd not do so." Donatien Alphonse Francois de Sade