all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: sendmail-program with msmtpq
Date: Mon, 12 Nov 2018 05:41:04 +0200	[thread overview]
Message-ID: <837ehj9d4f.fsf@gnu.org> (raw)
In-Reply-To: <E1gLxmW-00012n-Jo@eggs.gnu.org> (message from Xavier Maillard on Sun, 11 Nov 2018 23:00:36 +0100)

> Date: Sun, 11 Nov 2018 23:00:36 +0100
> From: Xavier Maillard <xavier@maillard.im>
> 
> My goal with this setup is to queue my outgoing messages when I am not
> connected.  There is something wrong at some point; when unplugged,
> msmtpq is doing the right thing: it queues the outgoing message but `sendmail-send-it' would consider it as unsent.
> 
> Here is the log:
> 
> [2018-11-10 08:12:02.017] Sending...
> Added to /home/xavier/.cache/mail/sent
> sendmail-send-it: Sending...failed to   mail for [ -oi -f xavier@maillard.im -oep -odi -t ] : couldn't be sent - host not connected; enqueued mail as : [ 2018-11-10-08.12.02 ] ( -oi -f xavier@maillard.im -oep -odi -t ) : successful; 
> 
> Due to that behaviour, calling C-x m again is just asking if I want to erase the *mail* buffer instead of creating a new one.
> 
> What's wrong ?

I suspect that your program exits with non-zero exit status in this
case, but I cannot be sure because you don't seem to show the entire
message.

sendmail-send-it expects a successful sending to exit with zero
status.



  reply	other threads:[~2018-11-12  3:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11 22:00 sendmail-program with msmtpq Xavier Maillard
2018-11-12  3:41 ` Eli Zaretskii [this message]
2018-11-12  5:11   ` Xavier Maillard
2018-11-12  5:22     ` Xavier Maillard
2018-11-12 15:44       ` Eli Zaretskii
2018-11-12 20:54         ` sendmail-program with msmtpq [SOLVED] Xavier Maillard
2018-11-12 23:10           ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837ehj9d4f.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.