🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #5647

Re: Procmail Filtering

#5647
From: mailbox
Date: Mon, 13 Jan 1997 00:00
16 lines
1234 bytes
> >I'm having a bit of trouble filtering with procmail in conjunction with my
> >virtual domain name. I've got a line in my .procmailrc like this:
> >
> >   :0
> >   * ^TOeddy@enqueue.com
> >   ! eddy@best.com

Just write it like this:
	:0
	* ^.*eddy@enqueue.com
	! eddy@best.com

That will egrep the entire header for your virtual domain name. If
it's in a "Received:" field, or anywhere else in the header the
condition will match.
Technical Details
Message-ID: <Pine.SUN.3.95.970113222258.5927E-100000@coyote.rain.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <jase-ya02408000R1201971930090001@nntp.best.com> <32dae37f.1174619038@nntp.best.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4424,ac010245752579e7
X-Google-Attributes: gidf4424,public
X-Google-Thread: f9f6d,ac010245752579e7
X-Google-Attributes: gidf9f6d,public
X-Google-Thread: 112e82,ac010245752579e7
X-Google-Attributes: gid112e82,public
From: mailbox <dnhunt@rain.org>
Subject: Re: Procmail Filtering
Date: 1997/01/13
Message-ID: <Pine.SUN.3.95.970113222258.5927E-100000@coyote.rain.org>
X-Deja-AN: 209683305
references: <jase-ya02408000R1201971930090001@nntp.best.com> <32dae37f.1174619038@nntp.best.com>
to: jase@enqueue.com
content-type: TEXT/PLAIN; charset=US-ASCII
precedence: first-class
organization: Billiken Boys
mime-version: 1.0
reply-to: mailbox <dnhunt@rain.org>
newsgroups: comp.mail.misc,best.unix,best.general