From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13209 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: regexp syntax, nnmail split: "s1 not-followed-by s2" Date: 10 Dec 1997 12:27:39 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152616 8068 80.91.224.250 (20 Oct 2002 22:23:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:23:36 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id JAA15587 for ; Wed, 10 Dec 1997 09:27:45 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA07445 for ; Wed, 10 Dec 1997 11:30:00 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAJ01452; Wed, 10 Dec 1997 11:29:53 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 10 Dec 1997 11:28:43 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id LAA01435 for ; Wed, 10 Dec 1997 11:28:35 -0600 (CST) Original-Received: (qmail 12914 invoked by uid 504); 10 Dec 1997 17:28:18 -0000 Original-Received: (qmail 12911 invoked from network); 10 Dec 1997 17:28:18 -0000 Original-Received: from pocari-sweat.jprc.com (207.86.147.217) by claymore.vcinet.com with SMTP; 10 Dec 1997 17:28:17 -0000 Original-Received: (from karl@localhost) by pocari-sweat.jprc.com (8.8.5/8.8.5) id MAA29533; Wed, 10 Dec 1997 12:27:39 -0500 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13209 I want to experiment with an acquaintance's 2-rule anti-spam trap. If: 1. Neither To: nor Cc: contains one's own address, and 2. The origin is not a known mailing list, then it's probably spam. I've got a bunch of other spam-avoidant rules, but I'd like to try these out. Unfortunately, it's not clear to me how I go about expressing a not-followed-by condition in a regexp. Any suggestions? Obviously, this simple rule is not perfect, as it will mis-classify as spam any mail in which one was properly addressed using Bcc:. Also, in looking at the documentation for nnmail-split-fancy, because I thought it might be necessary for my anti-spam effort (but now that I think I understand -fancy, it won't help -- I have nnmail-crosspost set to nil), the 1st line of the example contains a token `mail' (not a string) which should be enclosed in quotes as a string.