Colm Buckley's [colm at tuatha.org] 23 lines of dribble included:
<:
<:> 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.
http://www.linuxgazette.com/issue14/procmail.htmlhttp://www.pegasus.rutgers.edu/~elflord/unix/procmail.html
Two procmail tutorials, of course man procmail and the procmail docs get you
stuff as well..
Phil.
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!