Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2000 11:15:34 -0400 (EDT)
From:      Omachonu Ogali <oogali@intranova.net>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        Alexander Langer <alex@big.endian.de>, Michael Chin-Yuan Wu <keichii@peorth.iteration.net>, freebsd-chat@FreeBSD.ORG
Subject:   Re: Procmail Filter for FreeBSD Mailing Lists and such
Message-ID:  <Pine.BSF.4.10.10004291110240.52307-100000@hydrant.intranova.net>
In-Reply-To: <xzpitx1qf02.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
*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 <alex@big.endian.de> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004291110240.52307-100000>