From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Reviving qmail with X-Message-SMTP-Method in Gnus Date: Thu, 04 May 2023 09:46:53 +0300 Message-ID: <83bkj0lhk2.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21844"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Lars Ingebrigtsen To: Mohsen BANAN , Andrew Cohen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 04 08:47:02 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1puSk1-0005OI-SQ for ged-emacs-devel@m.gmane-mx.org; Thu, 04 May 2023 08:47:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puSjC-00058n-9h; Thu, 04 May 2023 02:46:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puSj9-000579-Or for emacs-devel@gnu.org; Thu, 04 May 2023 02:46:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puSj7-0007Mx-Lg; Thu, 04 May 2023 02:46:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jM0XQ+BYTDzmyF4/beX/F2AcbMVwSOlPC1t1tdf57iA=; b=oNR2j7u33kO6 bUaJ9tHuWFgXirqQapXPkDG9muxsUHI08hUdUHMlcs4aqHPF0UokcIsekLVFwdu2QX6zKWC9lKSaC O1+GIvfnq2OMQYCDwttigxOxNOPuaw2PAAl0DzRBYRRK0Vd8NDBeNnMUnJKZrR5P6UiQ6XAXgHK0b 1qDW7mr95EDo2J9pMvbGFFhINErQlRHjuQ9c0OpWssFgwoh/T4/R/wCa5rbrBa33bzdSdoIHBB+5n V+qaGjQcqSTF+jdziz6tVLq+EEaezD49hztYcpKMvwbIkWvvtZn90zAdAgLDfF6ee03XHFUOr8MTQ twbktSso/H8S5NVQm8dOqA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puSj5-00061W-14; Thu, 04 May 2023 02:46:03 -0400 In-Reply-To: (message from Mohsen BANAN on Wed, 26 Apr 2023 19:05:04 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305824 Archived-At: > From: Mohsen BANAN > Date: Wed, 26 Apr 2023 19:05:04 -0700 > > Dear Colleagues, > > I have been using qmail (as a resident MTA) with > Gnus through X-Message-SMTP-Method based on the > attached patch. > > It is just two lines. > > All of what is needed to support qmail is already > in Gnus and these two lines revives them. > > Lars, could you please apply this patch? > > Documentation can also then be updated in: > https://www.gnu.org/software/emacs/manual/html_node/message/Mail-Variables.html > > Architecture of qmail makes for an excellent > customizable mail sending agent which can be > integrated with Gnus. More on this later ... > > Thanks and regards, > > --- > Mohsen BANAN --- http://mohsen.1.banan.byname.net > > >From 13e47efe3c15e7afe3f6db98681e31125d199f58 Mon Sep 17 00:00:00 2001 > From: Mohsen Banan > Date: Wed, 26 Apr 2023 18:35:13 -0700 > Subject: [PATCH] Reviving qmail with X-Message-SMTP-Method in Gnus > > --- > lisp/gnus/message.el | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el > index 7a71ac9f58e..865e5c99000 100644 > --- a/lisp/gnus/message.el > +++ b/lisp/gnus/message.el > @@ -5017,6 +5017,8 @@ message-multi-smtp-send-mail > (cond > ((equal (car method) "sendmail") > (message-send-mail-with-sendmail)) > + ((equal (car method) "qmail") > + (message-send-mail-with-qmail)) > ((equal (car method) "smtp") > (require 'smtpmail) > (let* ((smtpmail-store-queue-variables t) > -- > 2.30.2 Andrew, Lars: any objections to adding this to message.el?