From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88750 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bob Newell Newsgroups: gmane.emacs.gnus.general Subject: Multiple Mailings Date: Sun, 08 Sep 2019 09:07:00 -1000 Organization: Avi Gobbler Publishing Message-ID: <87d0gamwtn.fsf@bobnewell.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="234521"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36954@lists.math.uh.edu Sun Sep 08 21:07:43 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i72XG-000ytb-6n for ding-account@gmane.org; Sun, 08 Sep 2019 21:07:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92) (envelope-from ) id 1i72Wp-0008M4-HZ; Sun, 08 Sep 2019 14:07:15 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i72Wl-0008JN-3T for ding@lists.math.uh.edu; Sun, 08 Sep 2019 14:07:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1i72Wj-0005H9-EH for ding@lists.math.uh.edu; Sun, 08 Sep 2019 14:07:10 -0500 Original-Received: from mail-pg1-f182.google.com ([209.85.215.182]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i72Wf-0000AV-Cv for ding@gnus.org; Sun, 08 Sep 2019 21:07:07 +0200 Original-Received: by mail-pg1-f182.google.com with SMTP id i18so6483320pgl.11 for ; Sun, 08 Sep 2019 12:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:organization:date:message-id:user-agent :mime-version; bh=HV0XTAn/9AaNQ5E5TzYHDaSY1qVNpYabPfdCXfir/10=; b=IzTEONPHJ5k68ZmmaHwGyPFoiHG9YHjtVLVZJyoHF+mW8eKIvsDVak7OULOcOfNHp2 V7b1XQlQ48qrLChBSfWvaX8NOP56R0sg0EJgnDH7RcN3YYsR33xvZoroniwV5UIQNerU lr/q6Zf96Wxvyo1uMl2yei6p+ADDGUCDviwvkewgtSiR0fpiJP8fAWxeWQqWki2Kw5P9 +4aX94+w0VZKkLfd7lDCRpUtP+6HBmW30RkHZDYABwmc5zsNmaBDzl+jM9xvfxQrSDe1 meXp4CaTRQ6wZBdN92zZfLmw4f/FJDQTJMSkJGRRxrV/NQ+lpfWmTW0mSSW7Vbvs3xxy r+QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:date:message-id :user-agent:mime-version; bh=HV0XTAn/9AaNQ5E5TzYHDaSY1qVNpYabPfdCXfir/10=; b=lepk46UQtVNm7fbMdYl+qOpBkUu7Qm6Qy/7Q6xDqipkEb8gHSu5fSNSjDxQsDzii8m jh/ic4yzZS892CVo1dbBXtV63e+f2qIIl0NYaALxSjbflBXQkNd4fGrDs5G6M5JUdB9t AOI+E4twM1/LWi26gk082F0XALM7b6jwWh4Zth22rQSbRX5P0QZKtZkkjvs2ROLUst2U Z5xh/a9Ay0VYI/ktAXQdXRVSrwQ2TkN3vtFbfO1yabxL62k1UsKj62yRmIgfFcSWuIxp K0hXMmxn8UVhIlvJdSkacTHHXcnQaB62AhjF43ebCEh4U8HM6q9oCKqGFPZNFpdiB/A0 NcYg== X-Gm-Message-State: APjAAAWKHcIQieIrgh2SJiu+bx6MUvIm4aXGeSgTUCHfgADam89oIlbk u1ctlbjz3JR8/zDvT9KmOrRl9pfNYZ78ZA== X-Google-Smtp-Source: APXvYqzrOZg6B8PGf8pwerKsWNr6bg0zUBI+YzYJ+j+wJatU3ZLEsliqZpoVcbQsSS9AgjZhf7j9Rw== X-Received: by 2002:a62:684:: with SMTP id 126mr9245609pfg.104.1567969622723; Sun, 08 Sep 2019 12:07:02 -0700 (PDT) Original-Received: from localhost (udp072992uds.hawaiiantel.net. [141.239.244.209]) by smtp.gmail.com with ESMTPSA id u65sm9566462pfu.104.2019.09.08.12.07.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Sep 2019 12:07:02 -0700 (PDT) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88750 Archived-At: Aloha everyone, As many people do, I use the 'alias' feature of BBDB to set up mailing lists. I typically expand the list into a BCC: field in my message, and put in a generic address as the To: element. This works fine, as expected, except that some spam filters don't like mail coming to a generic address instead of the recipient's real address. Well, in Gnus all is possible. So I found some code on the web and modified it, so that an expanded mailing list is parsed and individual mails get sent to the real address of each recipient. So, say 18 on the list, 18 separate email transactions. Very fine, except Gnus insists on prompting me for Each And Every Copy, and that gets very tiresome. I think there could be a change made. Looking in message.el, about line 4120 in my version, we have this code fragment: (when (and (or (not (memq (car elem) message-sent-message-via)) (message-fetch-field "supersedes") (if (or (message-gnksa-enable-p 'multiple-copies) (not (eq (car elem) 'news))) (y-or-n-p (format "Already sent message via %s; resend? " (car elem))) (error "Denied posting -- multiple copies"))) (setq success (funcall (caddr elem) arg))) (setq sent t)))) I thought that by enabling 'multiple-copies in the 'message-gnksa-shoot-feet variable, I would avoid prompting. But as the code above shows (once I figured out the nestings!) that isn't the case. 'multiple-copies only comes into play under certain circumstances, and will never prevent prompting. But shouldn't it? Is there really a reason to force prompting all the time? Is that perhaps my use case--- automated single mailings to multiple users--- is out of scope? (Or potentially very spammy, but I should take responsibility for that.) My workaround was to do temporary :around advice on y-or-n-p forcing 't' but that's hackish to say the least. Comments welcome. I could propose a patch but the logic is a little complex and I would likely miss a paren somewhere. -- Bob Newell Honolulu, Hawai`i * Via Gnus/BBDB/Org/Emacs/Linux *