Avoid Duplicates in $record if Send Fails

2007-06-15 Thread Svend Sorensen
If the sending of a mail fails, and the compose screen is redisplayed, the message is saved to the $record location. This happens each time the send fails. This leads to duplicate mails in the $record mailbox. Is there a way to save the message to $record ONLY if the send goes through.

Interactive sendmail with msmtp (prompt for password)

2007-03-13 Thread Svend Sorensen
Is it possible to use a sendmail command which prompts for a password? I am trying to use mutt-1.4.4.2 with msmtp. I have msmtp configured to prompt for a password. This works when I run msmtp from the command line. When I set up Mutt to use msmtp (set sendmail=/usr/local/bin/msmtp), msmtp is