From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: sendmail-program with msmtpq Date: Sun, 11 Nov 2018 23:00:36 +0100 Organization: GNU's NOT Unix! Message-ID: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1541973549 21376 195.159.176.226 (11 Nov 2018 21:59:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2018 21:59:09 +0000 (UTC) User-Agent: Rmail on GNU Emacs/27.0.50 (27.0.50) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 22:59:05 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLxl3-0005R3-Io for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Nov 2018 22:59:05 +0100 Original-Received: from localhost ([::1]:43791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLxnA-0002v1-4e for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Nov 2018 17:01:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLxma-0002uj-CJ for help-gnu-emacs@gnu.org; Sun, 11 Nov 2018 17:00:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLxmW-0001U8-Re for help-gnu-emacs@gnu.org; Sun, 11 Nov 2018 17:00:40 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:41703) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gLxmW-00012n-Jo for help-gnu-emacs@gnu.org; Sun, 11 Nov 2018 17:00:36 -0500 X-Originating-IP: 77.136.199.112 Original-Received: from localhost (112.199.136.77.rev.sfr.net [77.136.199.112]) (Authenticated sender: xavier@maillard.im) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id DC71440004 for ; Sun, 11 Nov 2018 22:00:32 +0000 (UTC) Jabber-ID: xavier@maillard.im X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.194 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118647 Archived-At: Hello, I am trying to use msmtpQ with the regular mail-mode. I set sendmail-program to "msmtpq" and `send-mail-function' to `sendmail-send-it'. 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 ? Regards -- Xavier