From owner-freebsd-chat Sun Apr 30 6: 2:19 2000 Delivered-To: freebsd-chat@freebsd.org Received: from hydrant.intranova.net (msb-ts-slip10.UMDNJ.EDU [130.219.28.70]) by hub.freebsd.org (Postfix) with SMTP id D64E037BC11 for ; Sun, 30 Apr 2000 06:02:15 -0700 (PDT) (envelope-from oogali@intranova.net) Received: (qmail 60107 invoked from network); 29 Apr 2000 15:15:34 -0000 Received: from localhost.abuselabs.com (HELO localhost) (missnglnk@127.0.0.1) by localhost.abuselabs.com with SMTP; 29 Apr 2000 15:15:34 -0000 Date: Sat, 29 Apr 2000 11:15:34 -0400 (EDT) From: Omachonu Ogali To: Dag-Erling Smorgrav Cc: Alexander Langer , Michael Chin-Yuan Wu , freebsd-chat@FreeBSD.ORG Subject: Re: Procmail Filter for FreeBSD Mailing Lists and such In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org *WARNING* I'm not a procmail/regexp expert. *WARNING* From what I've seen Delivered-To is always two lines under 'Received: by hub.freebsd.org', so would this work: * ^Received: by hub\.freebsd\.org.* * .* * ^Delivered-To: freebsd-\/(i18n|scsi|qa|new-bus|arch|multimedia|ipfw|newbies|bugs|emulation|advocacy|hardware|chat|net|fs|doc|security|isdn|ports|questions|current|announce|stable|hackers)@freebsd.org * MATCH ?? ^^\/[^@]+ mail/freebsd/$MATCH On 29 Apr 2000, Dag-Erling Smorgrav wrote: > Alexander Langer writes: > > This filter works for me: > > > > :0: > > * ^Delivered-To: freebsd-\/(i18n|scsi|qa|new-bus|arch|multimedia|ipfw|newbies|bugs|emulation|advocacy|hardware|chat|net|fs|doc|security|isdn|ports|questions|current|announce|stable|hackers)@freebsd.org > > * MATCH ?? ^^\/[^@]+ > > $MATCH > > It won't work for people who use QMail or Postfix, because they set > the Delivered-To: header to the final recipient (mail from the lists > contains a Delivered-To: header because hub runs Postfix and Majordomo > doesn't strip the header before forwarding the mail). Use Sender: > instead. > > DES > -- +-------------------------------------------------------------------------+ | Omachonu Ogali oogali@intranova.net | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-------------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message