On Tue, Jul 26, 2016 at 10:26:16AM +0200, Michael Tatge wrote:
> On Mon, Jul 25, 2016 04:39PM +0200 Olaf Hering ([email protected]) muttered:
> > Am 25. Juli 2016 14:52:27 MESZ, schrieb Michael Tatge <[email protected]>:
> >
> > >No. Sending from the command line, in scripts, the error might come up
> > >later during delivery,...
> >
> > Have you actually tried it with smtp_pass= ? There is no interaction
> > and as a result no password and as a result no mail gets created.
>
> using the internal smtp agent is a special case, mutt's scope is wider
> then that.
>
uhm, so? when delivery is done via sendmail and fails later on, it was
successful from mutt's perspective. this doesn't have anything to do
with the case at hand. compare it with the case that the sendmail call
itself fails. in the interactive case, i'd expect the behavior i already
desribed. in the non-interactive case, mutt should propagate the exit
code, and the caller should handle it - and mutt should not create
some sort of backup of its own accord "just in case".