I think a lot of people have the setting like you. Check this small program which may help you. https://code.google.com/p/msmtp-notify/
It monitors the msmtp log and sends various kinds of notification on mail sent. On Thursday 09/19/13 02:08:22 CST, Óscar Pereira wrote: > (This might turn out to be the wrong place to post this, but I > decided to do so in case anyone has some useful suggestions for > this) > > Dear all, > > One of the accounts I use mutt with is setup with offlineimap to > download the email, and msmtp to send it. Yesterday, the smtp server > I use with that account (gmail's smtp) was unavailable during the > afternoon. However, when I sent an email from mutt, neither mutt nor > msmtp reported an error. In fact, mutt displayed the familiar "Mail > sent" message in the lower left corner. And what's worse, the mail I > was just composing was *gone*! Not sent to the recipient, but also > not stored anywhere locally. This scenario was reproducible, and the > behaviour was always the same. > > To prevent this problem in the future, I have set record to store > all sent mail to a local folder (that I can clean up afterwords). In > gmail's case this works well because it will ensure (if it's > functioning properly...) that your sent mail will end up in the > proper "sent_mail" folder. And I would very much rather have two > copies of an important mail than none at all. > > If anyone happens to be using the same type of setup, have you ever > encountered this scenario? And if so, how do you cope with it? > > Thanks in advance! > --Óscar > -- oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/::::
signature.asc
Description: Digital signature
