Thread View: alt.linux
1 messages
1 total messages
Started by David. E. Goble
Wed, 25 Oct 2000 05:24
help with .forward, grep and filtering mail
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads