*BSD News Article 73057


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Automatic E-mail Reponse
Date: 6 Jul 1996 01:22:23 -0500
Organization: Coverform Ltd.
Lines: 24
Message-ID: <4rl0mv$td@anorak.coverform.lan>
References: <31DAE636.41C67EA6@ix.netcom.com> <4rgmvk$30s@ramses.eurocontrol.fr>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Ollivier ROBERT (rbt@eurocontrol.fr) wrote:
:  [posted and mailer to Jianyu]

: In article <31DAE636.41C67EA6@ix.netcom.com>,
: Jianyu Wang  <jianyu@ix.netcom.com> wrote:
: >I am trying to setup an automatic E-mail response for FreeBSD but it
: >seems there is no document to show me how to setup.  I would like the
: >system to automatically execute some commands based on the e-mail
: >message contents it receives and response to the sender.  Can somebody

: Have a look at procmail which is a general mail filtering package.

: ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/

Or ask archie about "majordomo" (it may be a package too).

In it's simplest form, you can set up an alias that points to a
script in /etc/aliases as in:

mytargetuser: "|/usr/local/bin/processmail"

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....