On 09Jul2015 11:41, Matthias Vallentin <vallen...@icir.org> wrote:
Is it possible to send a message from the Postponed Messages menu
without editing it? After having written various emails while having
been offline for a while, I find it tedious to select each draft, edit
it, save it, then hit 'y'. What I'd like to do is just hit 'y' directly
from the Postponed Message view directly. Even better, tag those
messages I want to deliver and press a simple button.
Perhaps one way of getting there would be to open the folder with
postponed messages as regular mailbox, so that they can be tagged and
bulk-edited. Then really all that needs to be done is take the message
as-is and send it off. How would you go after this from within mutt?
(I'm using mutt itself as opposed to, say, msmtp to send mail. So piping
them through sendmail -t and deleting them afterwards wouldn't work
directly.)
I was going to make two suggestions, and the second was "piping
them through sendmail -t and deleting them afterwards wouldn't work
directly". I have a "B" macro (to accompany "b"ounce) for exactly that:
macro index,pager B "<pipe-message>sendmail -oi -t"
Anyway, the first suggestion was anyway going to be: run a local mail system to
support your _outbound_ email. The reason I say this is your sentence:
After having written various emails while having been offline for a while,
I find it tedious to select each draft, edit it, save it, then hit 'y'.
I live on a MacBook Pro, and it runs a local postfix (OSX ships with postfix).
As a consequence, I do not care if I am offline when I compose a message
because I always have mutt deliver to the local mail system. When I am online,
the message going out immediately. When I am offline, the message is queued and
will go out quite soon after I am next online.
This workflow completely obviates any need to use "postponed" for a message
which is complete. All you really need to make this work in concert with an
ISP's SMTP service is to add a relayhost to /etc/posfix/main.cf. Here's mine:
relayhost = [service.l]:1025
You can point this directly at your normal SMTP service. Mine is a little funny
because I have an haproxy that forwards to a choice of SMTP servers; it aids
moving the laptop around.
Anyway, the point of this is that I recommend running a local mail system to
support outbound email. It is extremely handy.
I have done plenty of correspondence while offline on a train. FTW!
Cheers,
Cameron Simpson <c...@zip.com.au>
Life is like arriving late for a movie, having to figure out what was going
on without bothering everybody with a lot of questions, and then being
unexpectedly called away before you find out how it ends.