Article View: alt.linux
Article #418help with .forward, grep and filtering mail
From: David. E. Goble
Date: Wed, 25 Oct 2000 05:24
Date: Wed, 25 Oct 2000 05:24
26 lines
1901 bytes
1901 bytes
Hi all;
Iam using redhat 6.2.
How do I use .forward to scan thru my mail (with maybe grep) looking
for mail to a certain email address. The email address could be in the
to header or in the recieved header ...etc...
I then want each mail to then be forwarded or bounced to another user.
The senario is the user user1 uses fetchmail to download mail from
my@isp the mail can be for either my@isp or for mine@isp. I want email
for mine@isp to go to/bounce to user2.
I need something like
grep "To: mine@" mail user2
grep "for mine@" mail user2
grep "for <mine@" mail user2
Any help would be very welcomed...
--Regards David. E. Goble
goble [AT] kin.net.au
http://www.kin.net.au/goble
Po Box 648 Kingscote, Kangaroo Island, SA 5223
Technical Details
Message-ID:
<39f66bd1.1905406@news.adelaide.on.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!isdnet!news.mel.connect.com.au!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!203.48.5.163Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,5941024c92b545d4,start X-Google-Attributes: gid102983,public X-Google-Thread: 100c5f,5941024c92b545d4,start X-Google-Attributes: gid100c5f,public X-Google-Thread: faa64,5941024c92b545d4,start X-Google-Attributes: gidfaa64,public X-Google-Thread: f9b51,5941024c92b545d4,start X-Google-Attributes: gidf9b51,public X-Google-ArrivalTime: 2000-10-24 22:22:56 PST From: goble@gtech (David. E. Goble) Newsgroups: alt.linux,alt.os.linux,aus.computers.linux,comp.os.linux.setup Subject: help with .forward, grep and filtering mail Date: Wed, 25 Oct 2000 05:24:51 GMT Sender: goble@kin.on.net (David. E. Goble) Organization: Gtech.Computing Reply-To: goble@gtech Message-ID: <39f66bd1.1905406@news.adelaide.on.net> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 203.48.5.163 X-Trace: 25 Oct 2000 14:52:53 +0950, 203.48.5.163 Lines: 26 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!isdnet!news.mel.connect.com.au!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!203.48.5.163