From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6846438166349479936 X-Received: by 2002:a54:4483:: with SMTP id v3mr8115360oiv.139.1594234403555; Wed, 08 Jul 2020 11:53:23 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 2002:a9d:6a11:: with SMTP id g17ls710085otn.9.gmail; Wed, 08 Jul 2020 11:53:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyKlWgY3/WJVMoT1tr9Kf8UdnpKSbHaOLPBPkFJYwljFJD9uYthovESFe9r5FFIu62Fwa3 X-Received: by 2002:a05:6830:1d6c:: with SMTP id l12mr25144568oti.275.1594234403081; Wed, 08 Jul 2020 11:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594234403; cv=none; d=google.com; s=arc-20160816; b=xDXSGZ893orR/C7y/eHA6sAgh+Pv+/aAgvjPDMylu26gtzfUiNnNyjJjjUJK+4RUel AUrxTwmWGZAAKTKH4dX/4U9UmT5LPLTZYhgSH8wCv9jdDCIcQiMFPcITF+GuBm3fk38J yZ9aL1+ObhiMdCpgIZuPvbhqi+UbMLLMNMUEgsMtzv78d6gPJ39SDJHUuKdplHJpgU3f OXdswUo0MZnYHPWsJgqcG6dXOcQ+mUFs9D8b0elWPvAZswKb6gKQXjgWgXFqThcptbtv rhBkhM/83sK77iOtI4CoNQ+J1VAio09cSuQsuyIZ6gdn7w6d34HMoqRuyyA7GiWPtFlQ LS6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:user-agent:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-signature; bh=BazfC4pSobwgIgCaZX2SMSLgjW19kuUweI6ILPYm33U=; b=iYAlPnZlLMMirFiWesxXutUsHbVs6v8FiHHkXbJeseJmFMdTQA+TiQpHEvThDfkaBy 5Ks9rvubcR47AqCErobZBA6kCzUKF0IlzZdqNdkn6L2dti22iw1FaIGRMyzjJL4K2ZE+ XTwJJsolKJ1gfjzN2xM/HZIgphuqaes2+BmrsbIAPZw11rvikgQecBHf8hFlOPfu7KZh OKvL5HkbLMPFyl07vX8wYt3dIvALMYdSk2U7CqqgnpzU8GvdE29GamQCivpZKlrpicHC vVF+qb9XkL8NGPT4Vh2JOQec9L/6lfhpjsaaJ6NHBwY+fVYuBwKoUJzaLZicGTjPX8Of a16w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@parris.org header.s=fm1 header.b=U6oO5uHB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=hfU562Je; spf=pass (google.com: domain of ipv2.lst@parris.org designates 66.111.4.221 as permitted sender) smtp.mailfrom=ipv2.lst@parris.org Return-Path: Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com. [66.111.4.221]) by gmr-mx.google.com with ESMTPS id n26si35425otk.5.2020.07.08.11.53.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2020 11:53:22 -0700 (PDT) Received-SPF: pass (google.com: domain of ipv2.lst@parris.org designates 66.111.4.221 as permitted sender) client-ip=66.111.4.221; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@parris.org header.s=fm1 header.b=U6oO5uHB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=hfU562Je; spf=pass (google.com: domain of ipv2.lst@parris.org designates 66.111.4.221 as permitted sender) smtp.mailfrom=ipv2.lst@parris.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id E8875580100; Wed, 8 Jul 2020 14:53:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 08 Jul 2020 14:53:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parris.org; h= content-type:from:to:cc:subject:in-reply-to:references:date :message-id:content-transfer-encoding; s=fm1; bh=BazfC4pSobwgIgC aZX2SMSLgjW19kuUweI6ILPYm33U=; b=U6oO5uHBJxQ0gRWW7pmHlb3QbdEcFTL pdh3b0pZsIo5TsLFINYp61KhGz0KZc/ofxT87AY7K2T4UTQBTEiELdmF2cmV2q10 +6sqEjDeVwx8dcq3eutijjPWt0seoAtpgKEn4E7E+jJGoMgrRq+UL7TzSrVmp21j aqX7XHXMa2BClv0tNmO9XwJSb1gRfn9uZ04YMJanXMHPqWHw6n0pvepLGUFySkkA l2k/9BiimavWFKBZ37SSbuPExfyh81meU4uN0vkDs4O5D7fqQVFHiTa+psiAjeG+ GiO41tUfGxTY1xVWOA2S9AOKi/QleiRkIug58dI3caEyRU+xwK6uz+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=BazfC4pSobwgIgCaZX2SMSLgjW19kuUweI6ILPYm33U=; b=hfU562Je t0MCRYx8PBdrPPH6JFsgjNPiHFK66mFTcrRoRaM4gU+w/Vi82D6ExVxoGNrstWaZ MMzfLlJs6oCrWv72ElhUsPZRoZPj5P2sLdS+lsxSvENOtONGoyO1lfd0aYKUUsRZ 0ukYZtzDbIrWCJZRDT7TCPcKa1g7qhEQJHJY0p/9zeI3cPnsKDYkudOPxTLbbRSR DXG3wmyFd1981CKELNc/N9vs84oa92QE6kLBgmxG8/qaTbJEGEOJwI9UxphGTmap On3j1krl4ZBF/Rm6CRVw4WNspva5kn6ZoAwr+suzGG4JW11LKcZuObLw6oFzP4h7 V1wlPQQK/aTI2g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudejgddufeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegthffvufgjfhffkfgfgfesthekre dttderjeenucfhrhhomhepkfgrihhnucfrrghrrhhishcuoehiphhvvddrlhhsthesphgr rhhrihhsrdhorhhgqeenucggtffrrghtthgvrhhnpeefjeegudetteffjeeghfdvieffgf etleekudehieefkedvjeejueffteeiteejgfenucfkphepiedvrdefrdeigedrgedunecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhpvhdvrd hlshhtsehprghrrhhishdrohhrgh X-ME-Proxy: Received: from localhost (unknown [62.3.64.41]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D41D30600A9; Wed, 8 Jul 2020 14:53:21 -0400 (EDT) Content-Type: text/plain; charset=UTF-8 From: Iain Parris To: Robert Winkler Cc: The Sup email client Subject: Re: [sup] SpamAssassin (Spam/Ham) support for Sup In-reply-to: <5048bacc-c026-45c3-b145-52226916491co@googlegroups.com> References: <7c75d917-b99e-4e95-af72-d308acfcb7ado@googlegroups.com> <1594076857-sup-7295@ceres> <5048bacc-c026-45c3-b145-52226916491co@googlegroups.com> Date: Wed, 08 Jul 2020 19:53:19 +0100 Message-Id: <1594233819-sup-5407@ceres> User-Agent: Sup/0.22.1 Content-Transfer-Encoding: 8bit Hi Robert, Excerpts from Robert Winkler's message of 2020-07-08 10:06:55 -0700: > Thanks, Good hint, Iain! Thank you! > I want to move the mails in a second step (yet to be resolved). > > Any hints on possible external programs/ scripts for moving mails with a > particular label to a special /Maildir folder (e.g. > ~/Maildir/SpamAssassin/Spam)? Question: do the mails need to be moved, or can they be copied? (Side note: Sup should de-duplicate copies of mails that appear in more than one source, i.e., should recognise that it is a duplicate of the same message, and not show it twice. Or for simplicity, don't tell Sup to index the SpamAssassin Maildirs!) If making a copy is sufficient, then you can write the email to a new file in the appropriate Maildir (since a Maildir is just a collection of files, with each file being one email). All you need is a random filename. For example, you could pipe to cat to create with a random filename (a UUID), using something like: cat >~/Maildir/SpamAssassin/Spam/$(cat /proc/sys/kernel/random/uuid) Kind regards, Iain