Hi, * On Wed, Jul 27, 2016 02:46AM +0200 Vincent Lefevre ([email protected]) muttered: > Mutt should store the message to the Sent folder *after* running > sendmail and *only* if sendmail returned with a zero exit status.
NO, this was what mutt was doing long ago. The current behaviour was introduced exactly to *prevent* the situation where sending fails and you don't have a local copy. Mutt should try to store the message first and *then* try to send it. Mutt should not store the same message over and over, this is where action needs to be taken. The concept of store before send is the right way to do it(tm) given the current code. Imagine you have a typo in the recipient's email. You send it, which succeeds and then storing a (local or remote) copy fails for whatever reason. You'll receive the bounce later realizing your typo but don't have a copy to resend the message from. -> BAD Michael -- PGP-Key-ID: EEE7D043 Jabber: [email protected]
