Thanks to all who responded:
Original Question
> Does anyone know of an auto reply program, other than the vacation
> program, such that it will auto-reply to the sender on "what's up."
----- Begin Included Message -----
>From bern@TI.Uni-Trier.DE Thu Sep 7 04:59:13 1995
Date: Thu, 7 Sep 95 13:57:01 +0200
From: bern@TI.Uni-Trier.DE (Jochen Bern)
Message-Id: <9509071157.AA13312@penthesilea.Uni-Trier.DE>
To: josem@sybase.com
Subject: Re: Question - mail - auto-reply
Reply-To: bern@uni-trier.de
X-Url: http://www.informatik.uni-trier.de/~bern/
X-Mailer: SUN OpenWindows 3.0 Mailtool plus JoesMailtool 1.1.3b
X-Mailer-Source: ftp://ftp.informatik.uni-trier.de/pub/sunos/JoesMailtool
Organization: Computer Science Department, University of Trier, Germany
X-Body-Checksum-Sum: 12244 2
X-Body-Checksum-Md5: 69effdbd64a88454ffff1bb4f278d7bf
X-Lines: 19
> Does anyone know of an auto reply program, other than the vacation
> program, such that it will auto-reply to the sender on "what's up."
Forget about Auto*reply* and get an Auto*processing* Thingie. I recommend
procmail. If you want to see what it can do concerning Autoreplies,
just send me a Mail with Subject "##" and start from there. Or send
a SUN-Managers Mail with less than five Lines of Body. Or send a Mail
with less than 2000 Byte to mailtool-sig@ti.uni-trier.de. All done
with one procmail Rule each!
Regards,
J. Bern
-- /\ /""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\ / \/ bern@uni-trier.de (Size Limit!) | P.O. Box 1203 | Ham: \/\ / J. \ bern@ti.uni-trier.de (SUNAttachm.OK) | D-54202 Trier | DD0KZ / \ \Bern/ No Finger etc.; Use Mail (Subj. "##" for Autoreply List) and \ / \ /\ WWW. /\/ \/ \____________________________________________________________/----- End Included Message -----
----- Begin Included Message -----
>From aks@dokoka.ucsb.edu Thu Sep 7 17:09:43 1995 Message-Id: <199509080007.RAA10242@dokoka> To: josem@sybase.com (Joey R. Montilla) Subject: Re: Question - mail - auto-reply Reply-To: "Alan K. Stebbens" <aks@hub.ucsb.edu> In-Reply-To: Your message of Wed, 06 Sep 1995 15:19:25 PDT. <9509062219.AA24252@manila.sybase.com> Date: Thu, 07 Sep 1995 17:07:49 -0700 From: Alan Stebbens <aks@dokoka.ucsb.edu> X-Lines: 16
> This may be trivial, but here goes.... > Does anyone know of an auto reply program, other than the vacation > program, such that it will auto-reply to the sender on "what's up."
Procmail and procmail recipes can easily do this.
For more information on procmail and my procmail library, which provides an "auto acknowledge" and mail server function, please send me an email with the subject:
Subject: send info
_______________________________________ Alan K. Stebbens <aks@hub.ucsb.edu> College of Engineering University of California, Santa Barbara
----- End Included Message -----
----- Begin Included Message -----
>From charest@sar3.CANR.Hydro.Qc.CA Thu Sep 7 04:55:23 1995 Date: Thu, 7 Sep 1995 07:51:39 -0400 From: charest@sar3.CANR.Hydro.Qc.CA (Claude Charest) Message-Id: <9509071151.AA00451@panthere.vpprpr.hydro.qc.ca> To: josem@sybase.com Subject: Re: Question - mail - auto-reply X-Sun-Charset: US-ASCII X-Lines: 125
Bonjour,
All the auto-reply program are based on the "~/.forward" file (man aliases).
Did you try the "sortmail" program?
------------------- Host usc.edu (128.125.253.136) Last updated 08:29 10 Feb 1995 Location: /archive/usenet/sources/comp.sources.unix/volume28 DIRECTORY drwxr-xr-x 512 bytes 03:46 19 Aug 1994 sortmail ------------------- Hi; I post this program because I believe it is the best one I've seen (or I wouldn't have written it.) It's written in C rather than shell scripts, and runs quite fast. Overview: sortmail(1) examines incoming mail and sorts it for you based on all or part of the header, or even the entire message. Messages can be filed to your mailbox, to a specific mail folder, junked, forwarded to another address or piped through sh(1). The format of the $HOME/.sortmailrc file is similar to an rn KILL file: set default=+other /MAILER-DAEMON/f:+bounces /falk/t:m /scuba/s:+scuba /marko/f:j /^Precedence: junk/h:+other -ed falk, sun microsystems sun!falk, falk@sun.com He who dies with the most friends, wins. ------------------- SORTMAIL(1) User Commands SORTMAIL(1)
NAME sortmail - classify incoming mail
SYNOPSIS sortmail [ -v ] [ -home path ] [ -mailbox path ] [ - mailrc initfile ] [ -sortmailrc initfile ] username
DESCRIPTION Create this .forward file in your home directory:
"| /path/sortmail user"
Where "/path/sortmail" is the full path where you installed sortmail, and user is your own userid. The userid must be specified because when mail arrives sortmail could be run as root, daemon, or any number of other id's.
Once your .forward file is set up, sortmail will classify incoming mail according to the patterns in $HOME/.sortmailrc. Your .sortmailrc file is similar to a news KILL file, but somewhat more powerful. You can discard mail, have it delivered to your mailbox, have it filed into a folder, forward it to another address or even pipe it through a shell command.
When sortmail starts up, it first reads your .mailrc file to find the value of mail(1) variables that are also used by sortmail. It then reads your .sortmailrc file for addi- tional variable settings, if any, and for search patterns. (See below.)
... cut ... MODIFIERS These modifiers affect how the regular expression is applied to the incoming mail. The default is 's'.
s Test the "Subject: " line of the incoming mail against the regular expression.
t Test the "To: ", "Cc: " and "Apparently-To: " lines of the incoming mail against the regular expression.
f Test the "From: " line of the incoming mail against the regular expression.
h Test the entire header of the incoming mail against the regular expression.
a Test the entire incoming mail message against the reg- ular expression.
COMMANDS m Send the message to the user's mailbox.
m address Forward the mail to the specified address.
j Delete the message ("junk" it.)
f folder Save the message in the given mail folder. folder may be in the formats ~/path, /abspath, ~user/path, or +name. The latter form expands to ~/folder/name where folder is the value specified for the folder variable (default is "folders".)
+folder Shorthand for "f +folder".
| command Pipe the mail message through the given shell- command. sh(1) is used.
... cut ... I hope that will help you...
On sunos you must edit the Makefile: - uncomment the SunOs 4.x lines >> #CFLAGS = ${DBG} >> #LDFLAGS = -n -Bdynamic -s
- comment the SunOs 5.x lines >> CFLAGS = ${DBG} -DSVr4 >> LDFLAGS =
+--------------------------------------------------------------------+ | Centre d'Analyse Numerique de Reseaux | +--------------------------------------------------------------------+ Claude Charest Dir. Planification du Transport charest@CANR.Hydro.qc.ca Hydro-Quebec 855 est, Ste-Catherine (19e) Montreal (Quebec) H2L 4P5 Tel: (514)840-3669 Fax: (514)840-4160
----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:33 CDT