hho@aludra.usc.edu (Hung P. Ho Jr. (John)) (11/10/90)
Hi All, I need to setup a small forward mechanism in elm.. Perhaps you can show me how.. 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.. But it won't forward any other mail.. Thanks.. I asked, and the system adm said this is like a kill file, where instead of sending to null, I replace it with an address.. Thank you very much... -- ******************************************************************************* Hu`ng P. Ho^`, Jr. (John) University of Southern California john@elroy.jpl.nasa.gov P.O. Box 77069, Los Angeles CA 90007 ..!cit-vax!elroy!john 213-734-6474 h || 213-625-7731 w
epeterso@houligan.encore.com (Eric Peterson) (11/10/90)
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.
acbhour@accucx.cc.ruu.nl (Rudi van Houten) (11/12/90)
In article <13058@chaph.usc.edu> hho@aludra.usc.edu (Hung P. Ho Jr. (John)) writes: >Hi All, >I need to setup a small forward mechanism in elm.. Perhaps you can >show me how.. > .......... >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.. >But it won't forward any other mail.. If your system uses sendmail as mail transfer agent ELM's filter utility can be used. A complete and comprehensible quide is part of the distribution. -- Rudi van Houten <acbhour@cc.ruu.nl> Academisch Computer Centrum Utrecht / Besturings Systemen Budapestlaan 8 - 3584 CD - Utrecht - Netherlands Tel: +31 30 531731 Fax: +31 30 531633