From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: sendmail-program with msmtpq [SOLVED] Date: Mon, 12 Nov 2018 15:10:01 -0800 Message-ID: <87woph3nau.fsf@ericabrahamsen.net> References: <837ehj9d4f.fsf@gnu.org> <835zx29u7u.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542064159 1247 195.159.176.226 (12 Nov 2018 23:09:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2018 23:09:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 13 00:09:15 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 1gMLKU-0000Cd-Dp for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Nov 2018 00:09:14 +0100 Original-Received: from localhost ([::1]:51164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMLMa-0001Yd-Qt for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Nov 2018 18:11:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMLM9-0001YV-Qy for help-gnu-emacs@gnu.org; Mon, 12 Nov 2018 18:10:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMLM5-0007yO-Fy for help-gnu-emacs@gnu.org; Mon, 12 Nov 2018 18:10:57 -0500 Original-Received: from [195.159.176.226] (port=42603 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMLM5-0007xM-4r for help-gnu-emacs@gnu.org; Mon, 12 Nov 2018 18:10:53 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gMLJw-000832-BJ for help-gnu-emacs@gnu.org; Tue, 13 Nov 2018 00:08:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:w5CCx66H/+xYFSmMXjibdz1lS/E= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:118658 Archived-At: Xavier Maillard writes: >> Date: Mon, 12 Nov 2018 17:44:05 +0200 >> From: Eli Zaretskii >> >> > Date: Mon, 12 Nov 2018 06:22:54 +0100 >> > From: Xavier Maillard >> > Cc: eliz@gnu.org, help-gnu-emacs@gnu.org >> > >> > in fact, no matter my online status, calling `compose-mail' after a >> > previous call to `sendmail-send-it' behaves the same. >> > >> > I did not pay attention before but, I have many `sendmail-errors-XXXX' >> > buffers with msmtpqs's output (exactly the same output than when >> > calling it from the terminal). >> >> Please show the full message you get in the *Messages* buffer after a >> failure to send a message. > > In fact, there is no failure just an output from the msmtpq command > which I suspect, is not what is expected. > > I read through msmtpq source code (thank you FOSS) and I find a way to > make the command be quiet. > > I tested it and it no longer bails out any error anywhere (and my > mesages are either sent or queued depending my connectivity). As an interested bystander: did you suppress the error, or did you change the return value so it didn't return a message (only the 0)? My understanding is that msmtpq should return 0 whether it sent the message or queued it, right? Can't `call-process-region' ignore the message, and only pay attention to the return value?