On Friday 11/11/11 20:20:36 CST, du yang wrote: > On Friday 11/11/11 19:21:16 CST, Martin Kjær Jørgensen wrote: > > Hey > > > > 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) > > > > Please check the mutt parameter sendmail_wait. If set, mutt will be waiting > until mail sent successfully or failed. But it is not convenient that you > have to wait for mail being sent and have to open another mutt program to > view mails or send another mail. > > > In my current setup I have to monitor msmtp logs to be sure that the > > mail from mutt is actually sent. For instance, mutt doesnt block or > > throw errors if msmtp TLS fails. > > > Maybe you have interests on this msmtp notify program. It help to monitor the > msmtp > log file and send notify with libnotify. >
Sorry for missing the link. http://code.google.com/p/msmtp-notify Just start it in background on system startup. It is a simple program written in C, so don't worry about resource usage. -- oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/::::
signature.asc
Description: Digital signature