Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!fub!tmpmbx!utopia!sunrise!hotte From: hotte@sunrise.in-berlin.de (Horst Laumer) Newsgroups: comp.unix.misc Subject: Re: automatic mail server Message-ID: <8B4NU3@sunrise.in-berlin.de> Date: 12 Feb 91 01:54:14 GMT References: <1991Feb8.165327.8389@nntp-server.caltech.edu> Organization: HL EDV-Beratung Lines: 26 coei@nntp-server.caltech.edu (Christopher K. Oei) writes: >Does anyone have a program (preferably a Unix script) that will intercept >incoming mail, check the message text for lines such as "send wanted_file", >and automatically reply to the sender the "wanted_file"? >I'd be interested in a copy. I wrote a rather crude version of this, and if >anyone would like a copy of my program, just send me mail with the word >"mailsort" somewhere in the message text. >Thanks in advance, >-Chris Oei >(coei@puma.ccsr.uiuc.edu) I'd suggest that you use filter, which is part of the elm-package. I never had the need to use it, but according to the man-pages it should be able to do the job. Seems to be quite flexible, uses an external rule-set and handles regexps. Give it a try, it's PD. -- ============================================================================ Horst Laumer, Kantstrasse 107, D-1000 Berlin 12 ! Bang-Adress: Junk-Food INET: hotte@sunrise.in-berlin.de ! for Autorouters -- me -- UUCP: ..unido!fub!geminix!sunrise.in-berlin.de!hotte