From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D9B4138AE9 for ; Sun, 26 Nov 2017 23:05:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B69F0E0E68; Sun, 26 Nov 2017 23:05:08 +0000 (UTC) Received: from very.loosely.org (very.loosely.org [173.255.215.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49CC9E0C01 for ; Sun, 26 Nov 2017 23:05:08 +0000 (UTC) Received: from [10.8.78.6] (port=50890 helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtp (Exim 4.89) (envelope-from ) id 1eJ5z0-0000tz-Fz for gentoo-user@lists.gentoo.org; Sun, 26 Nov 2017 15:05:06 -0800 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.89) (envelope-from ) id 1eJ5yu-0002X8-8H for gentoo-user@lists.gentoo.org; Sun, 26 Nov 2017 15:05:00 -0800 Date: Sun, 26 Nov 2017 15:05:00 -0800 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Setting up fetchmail to feed postfix Message-ID: <20171126230500.3cw3b4u3xs6pbyah@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <2105357.N7kWRluRGt@peak> <1710336.gcbUEJiXxu@thetick> <6e54e7a0-7a5a-f7d4-0ae1-04f97ef6d040@gmail.com> <1722168.phgiPb26BP@peak> <20171126174625.bnb3iouc6xwj4uti@matica.foolinux.mooo.com> <5a93c72a-09df-7d83-524d-b1e75280ab76@monksofcool.net> <5A1B2B0B.605@youngman.org.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Loosely-Listed: yes User-Agent: NeoMutt/20170707-dirty (1.8.3) X-Archives-Salt: 83f0be1a-a630-4687-baf1-ce9632e21b75 X-Archives-Hash: 80f0d026958d50603461ae870cdc9e85 On 2017-11-26 16:46, Rich Freeman wrote: > You'll find this recipe all over the place, but with procmail you can > do this: > https://mymegabyte.com/2010/03/filter-duplicate-emails-with-procmail/ I don't trust procmail anymore after CVE-2017-16844. It took me a long time, I had a weak spot for it, you might say, despite its horrible looking source. But now it's over. I have rewritten my delivery framework using Perl and Mail::Audit, and I feel very relieved. > I highly recommend using it. Works on lists/direct/etc. You won't > find yourself complaining about crossposts, being on CC, or whatever > again. On the other list I mentioned, I am getting dupes after a _month_. It would take a huge .msgid file to detect that, and remember formail does a linear search through it. I'm experimenting with using the filesystem as a hashtable, creating an empty file based on each Message-ID header (of course I munge it to get a valid filename). -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet, fetch the TXT record for the domain.