> 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.
Procmail will be able to do this for you; you almost definitely won't
need to write your own script. Procmail can either be integrated into
the mail delivery system on your machine, or run "standalone" by each
user. Either way, it's very powerful, and well worth-while.
Colm
--
Colm Buckley BA BF | NewWorld Commerce, 44 Westland Row, Dublin 2, Ireland
colm at tuatha.org (personal) | colm.buckley at nwcgroup.com (business)
+353 87 2469146 | whois cb3765 | http://www.tuatha.org/~colm/
The possibilities are... well, not endless, but pretty damn large.
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!