Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!husc6!encore!houligan!epeterso From: epeterso@houligan.encore.com (Eric Peterson) Newsgroups: comp.mail.elm Subject: Re: ELM Kill File... Message-ID: Date: 9 Nov 90 21:19:33 GMT References: <13058@chaph.usc.edu> Sender: news@Encore.COM Reply-To: epeterson@encore.com (Eric Peterson) Organization: Encore Computer Corporation, Diagnostic Development Lines: 51 News-Software: NN 6.4.12 hho@aludra.usc.edu (Hung P. Ho Jr. (John)) writes: | A friend of my has local access to me through mail.. He want to send | mail (frequently) to another person at SDSU.. Problem is that | there is no way they can get through to each other without going | through me.. I am getting tired for manual forwarding.. | | Is there a way I can set up elm so that when ever it see a From: address | and it automatically forward that message to the other person.. ANSWER: ~~~~~~ Simple. Use the program 'filter' that comes with Elm. Just create a file called ".forward" in your home directory with the line: "| /usr/local/bin/filter" You must include the quotation marks. Also, this presumes the filter program is in the /usr/local/bin directory. Once you've done that, create a file in your ~/.elm directory called "filter-rules" with these two lines: if (from "user2" and subject contains "For user1") then forward "user1" if (from "user1" and subject contains "For user2") then forward "user2" where "user1" and "user2" are the e-mail addresses of the two people that want to exchange mail through you. If user1 wants to send mail to user2, all he/she has to do is send mail to you with the subject line of "For user2". If user2 wants to send mail to user1, all he/she has to do is send mail to you with the subject line of "For user1". And the forwarding will take place automatically. META-ANSWER: ~~~~~~~~~~~ Since both user1 and user2 can reach you via e-mail and since USC is a reasonably well-connected site, there is most likely some form of addressing that user1 can use to reach user2 directly and vice versa. If you could post or mail me the e-mail addresses of the two users that want you to forward mail for them as well as the name of the site where you receive your mail, perhaps we could work out an appropriate address for you. Eric -- Eric Peterson <> epeterson@encore.com <> uunet!encore!epeterson Encore Computer Corp. * Ft. Lauderdale, Florida * (305) 587-2900 x 5208 Why did Constantinople get the works? Gung'f abobql'f ohfvarff ohg gur Ghexf.