This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: lists.html, another procmail recipe
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: lists.html, another procmail recipe
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Mon, 20 Mar 2000 15:34:14 +0100 (MET)
Provide a procmail recipe to filter duplicate messages.
Installed.
Gerald
Index: lists.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/lists.html,v
retrieving revision 1.42
diff -c -3 -p -r1.42 lists.html
*** lists.html 2000/03/10 00:47:53 1.42
--- lists.html 2000/03/20 14:32:57
*************** of the RFC2369 headers (List-Subscribe,
*** 138,149 ****
List-Archive, etc.).</p>
<p>For example, the following procmail rule will sort all mail from
! our lists into a single folder named INLIST.gcc:
<blockquote><code>
:0<br>
* ^Sender: gcc(-announce|-bugs|-patches)?-owner@gcc.gnu.org<br>
INLIST.gcc<br>
</code></blockquote>
<h2>Help</h2>
--- 138,158 ----
List-Archive, etc.).</p>
<p>For example, the following procmail rule will sort all mail from
! our lists into a single folder named INLIST.gcc:</p>
<blockquote><code>
:0<br>
* ^Sender: gcc(-announce|-bugs|-patches)?-owner@gcc.gnu.org<br>
INLIST.gcc<br>
+ </code></blockquote>
+
+ <p>To filter duplicate messages due to cross-posts to multiple lists, you
+ can use the following recipe (Use at your own risk!):</p>
+
+ <blockquote><code>
+ :0 Wh: msgid.lock
+ * ^Sender: gcc(-announce|-bugs|-patches)?-owner@gcc.gnu.org
+ | formail -D 8192 msgid.cache
</code></blockquote>
<h2>Help</h2>