Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!cs.utexas.edu!uunet!mcsun!Germany.EU.net!Urmel.Informatik.RWTH-Aachen.DE!physik.tu-muenchen.de!berg From: berg@physik.tu-muenchen.de (Stephen R. van den Berg) Subject: Re: Sendmail and .forward question Message-ID: <1992Jul13.114719.21518@Urmel.Informatik.RWTH-Aachen.DE> Originator: berg@tabaqui Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner) Nntp-Posting-Host: tabaqui Organization: Rechnerbetrieb Informatik / RWTH Aachen References: <1992Jul9.064148.24343@spider.research.ptt.nl> <coert.710754966@dnlunx> <1992Jul10.154859.2569@news.columbia.edu> Date: Mon, 13 Jul 92 11:47:19 GMT Lines: 27 Reha Elci writes: >What I would like to do is probably standard but I could not >figure it out. I need to write a mail filter based on >From: and Subject:, those which match I would like to >route to another address, those that don't, I'd leave it alone. >Please tell me how I need to set that up. If you pipe it to >a program via .forward; it traps all. How do I do this >selectively? It'd say, this sound like a job for *procmail*! :-). No, seriously, have a look at it. It looks like it does exactly what you need. ---------------------- A recent version can be picked up at various comp.sources.misc archives. The latest version can be obtained directly from the ftp-archive at: ftp.informatik.rwth-aachen.de (137.226.112.31) as compressed tar file: pub/unix/procmail.tar.Z <128KB ---------------------- -- Sincerely, berg@pool.informatik.rwth-aachen.de Stephen R. van den Berg (AKA BuGless). berg@physik.tu-muenchen.de "Listen very carefully, I shall only say this once."