From: Michael O'Grady (mogic3 at domain yahoo.com)
Date: Wed 10 May 2000 - 18:59:05 IST
Hi,
I'm a total newbie and was hoping you could help. I
know that a .forward file in a users home directory
can be used to forward mail to a different address,
but am I correct in thinking that it can also be used
to pipe mail through a script?
How can this be done? I have done some scripting and
am ok at it, but I dont see what commands I could
enter in the script that would deal with all a huge
text body like an email being piped into it. I want to
pipe it into a script that will filter it.. and echo
unwanted emails to /dev/null whilst forwarding the
rest to a different email account.
Anyone have a script for this?
Many Thanks,
Mick
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:06 GMT