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. -- oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/::::
signature.asc
Description: Digital signature
