From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mohsen BANAN Newsgroups: gmane.emacs.devel Subject: [PATCH] Reviving qmail with X-Message-SMTP-Method in Gnus Date: Wed, 26 Apr 2023 19:05:04 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7768"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 27 07:24:54 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 1pru7i-0001lk-1u for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Apr 2023 07:24:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pru79-0004bx-1m; Thu, 27 Apr 2023 01:24:19 -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 1prr0S-0006PK-Hh for emacs-devel@gnu.org; Wed, 26 Apr 2023 22:05:12 -0400 Original-Received: from 0030.bacs.by-star.net ([198.62.92.180] helo=0027.bacs.by-star.net) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1prr0Q-0000iU-DK for emacs-devel@gnu.org; Wed, 26 Apr 2023 22:05:12 -0400 Original-Received: (qmail 30662 invoked from network); 27 Apr 2023 02:05:04 -0000 Original-Received: from 192.168.0.90 ([192.168.0.90]) by 0030.bacs.by-star.net ([198.62.92.180]) with ESMTP via TCP; 27 Apr 2023 02:05:04 -0000 X-Envelope: envelop@mohsen.1.banan.byname.net X-MailingName: emacs.fa-emacs-devel-basicText X-MailingDoc: nil X-MailingParams: :type 'compose :extSrcBase nil Received-SPF: none client-ip=198.62.92.180; envelope-from=emacs@mohsen.1.banan.byname.net; helo=0027.bacs.by-star.net X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 27 Apr 2023 01:24:13 -0400 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:305685 Archived-At: --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Reviving-qmail-with-X-Message-SMTP-Method-in-Gnus.patch >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 --=-=-=--