On 11Nov2011 21:46, Grant Edwards <grant.b.edwa...@gmail.com> wrote:
| On 2011-11-11, Cameron Simpson <c...@zip.com.au> wrote:
| > On 11Nov2011 12:21, Martin Kj???r J???rgensen <m...@gotu.dk> wrote:
| >| Is there a way to make mutt listen or wait for msmtp succeeding or
| >| failing, and react accordingly? (or any other MTA for that matter)
| >
| > Another method is to write a tiny shell script that calls
| > sendmail/msmtp/etc. If it fails, file the message in your "unsent"
| > folder.
| 
| And then you could queue up an "at" or "cron" job to try to resend
| unsent e-mails a few hours later.  And then you could notify the user
| if it fails after N tries in M days.  And then... pretty soon you've
| written a really crappy MTA. :)
| 
| IMO, if you don't want to wait to see if the send failed/succeeded,
| you shouldn't be using msmtp -- you should be using postfix or one of
| its pals. Except for sendmail. sendmail is nobody's pal.

I confess that I always run a postfix on my local machine for exactly
these reasons.

Cheers,
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

We need a taxonomy for 'printing-that-is-no-longer-printing.'
- overhead by WIRED at the Intelligent Printing conference Oct2006

Reply via email to