From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 1f24519 1/2: Allow storing SMTP variables when queueing mail Date: Thu, 12 Aug 2021 20:55:49 +0200 Message-ID: <875ywaqyq2.fsf@gmail.com> References: <20210723181832.28668.12066@vcs0.savannah.gnu.org> <20210723181834.5AE4C20D0A@vcs0.savannah.gnu.org> <87eeazqa5e.fsf@gmail.com> <87h7fun7yq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29331"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 12 20:56:58 2021 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 1mEFsu-0007Lq-Fc for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Aug 2021 20:56:56 +0200 Original-Received: from localhost ([::1]:56022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEFss-00032a-13 for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Aug 2021 14:56:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEFrv-0002Ig-BO for emacs-devel@gnu.org; Thu, 12 Aug 2021 14:55:55 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:33778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEFrt-0001pU-Qm for emacs-devel@gnu.org; Thu, 12 Aug 2021 14:55:55 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id r7so9771836wrs.0 for ; Thu, 12 Aug 2021 11:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=AG/3ts0l5H1xspNI/8pOPAGEHyrairyc+PTnbu3e6E4=; b=PaIoRj8w/jgAyX26Ec77iuqdGz/Ifbwz8LyVnLvE+ein3OOZ8Q1cBXz7Jwp51kyIO9 lk7M2+oY1TJfi+rLW6tK0YDTZsDahFesO0kGzJh+tU7adnj2udVlxj/US+QPiVGHBi+X 8vddGzaOMy/IcjGIud0bqSC0de9sAvukGJO2ddQBYyquyIAjB1HlC2OB5KepbgjE6ZBh 6CrCopjCveDl/jIfz5NGPFcw4lvnK4p0HTr5V16RYYATk2DN41f7vJ9sEaURfc3lGecz wTYPnPyp2zkVcIlYIPmGm80VfTkzcpMKmKJE3usRxiGZTcZwWSmfO44nKeFTEnJAUfdd cVcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=AG/3ts0l5H1xspNI/8pOPAGEHyrairyc+PTnbu3e6E4=; b=LjxfPXB3M9RZoUU5ihtYWM8Fr5kEEVLHcHwwJWZOcggEP1jfYZw/j9BexztxHcpo+g tIdA/aoeaixeSv2QK3r+GDzmJX2wpxQAnCGMo8evIsxS5rJ4IIgLzjc9BFaR9x2eVhAn puLbv1B2BPNpCJRNFVyrzP8tkO8y4+Lzmv9mCyZgnIR6Azo0syA2EJ6ix8N/e36Vc/jy xIl+5xrxd6HmQJy2bnx6xkVzWaReybgPDB7SEAwt+pDKKE89MGhRQjDJurb2Qnsu6gbY KV559/G7r3DHscSpL+Cgv+ydNFR6Mmf7sYHhs6ipdfQ/U40CJGuljiMkJN+Rb55ILVdv /UrA== X-Gm-Message-State: AOAM530w/NhV2PekkGoIko3mHK4OoHW3Tf3IICfj2ifOoXOyybIyM2wj Kpx4wmQvzbLtWb3YuFsbVT8YNgE/y0U= X-Google-Smtp-Source: ABdhPJxtUOVQV8kMVg/QHV9KsFhCj9DFTabK7bIK49lHyUcAc7MYIYxmDsueai3E27VANNIdog9o2A== X-Received: by 2002:a5d:55cd:: with SMTP id i13mr5584481wrw.315.1628794551743; Thu, 12 Aug 2021 11:55:51 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id a11sm3804501wrw.67.2021.08.12.11.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Aug 2021 11:55:51 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87h7fun7yq.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 12 Aug 2021 14:49:49 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:272361 Archived-At: >>>>> On Thu, 12 Aug 2021 14:49:49 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: Lars> - (let* ((smtpmail-smtp-server (nth 1 method)) Lars> + (let* ((smtpmail-store-queue-variables t) Lars> + (smtpmail-smtp-server (nth 1 method)) Lars> (service (nth 2 method)) Lars> (port (string-to-number service)) Lars> ;; If we're talking to the TLS SMTP port, then force a >>=20 >> Why is smtpmail-store-queue-variables unconditionally bound to t her= e? >> The user might be queuing mail, but not want to store the variables,= no? Lars> In this case, the data is from the X-Message-SMTP-Method header. = If the Lars> user has used such a header, and is queuing the mail, then the us= er does Lars> want to store the variables.=20 I=CA=BCd say 'probably', but I=CA=BCll admit that the percentage of people = who don=CA=BCt want that is pretty small. Robert --=20