LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] The .forward file

[ILUG] The .forward file

Michael O'Grady mogic3 at yahoo.com
Wed May 10 18:59:05 IST 2000


 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/




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell