[comp.mail.uucp] Can I use the "filter" program?

chip@ateng.ateng.com (Chip Salzenberg) (06/02/89)

[Followups directed to comp.mail.misc]

According to jeff@cjsa.WA.COM (Jeffery Small):
>I am running smail 2.5 under elm and need to automatically forward a set of
>mail messages which match a certain pattern, to another site.  Is there any
>way to get "filter" working without running sendmail or is there another
>method of achieving the same result?

Filter may work.

IMHO, a better solution is the "deliver" program, which by some mysterious
coincidence was written by yours truly.  With deliver, you write shell
script(s) which are executed for each incoming message.  Those shell scripts
control what is done with the message.  Forwarding based on sender,
recipient, contents, time of day, phase of moon, etcetera, etcetera are a
SMOSP (Small Matter Of Shell Programming).

Deliver is currently at patchlevel eight.  It's available via anonymous UUCP
from ateng.  Here are the files in ~uucp/deliver:

  -rw-r--r--   1 network    26101 Feb 15 20:36 deliver.01.Z
  -rw-r--r--   1 network    18446 Feb 15 20:36 deliver.02.Z
  -rw-r--r--   1 network    21081 Feb 15 20:36 deliver.03.Z

Here is an L.sys (Systems) entry:

  ateng Any ACU 2400 18138824934 ogin:--ogin:--ogin: nuucp

-- 
Chip Salzenberg             <chip@ateng.com> or <uunet!ateng!chip>
A T Engineering             Me?  Speak for my company?  Surely you jest!
	  "It's no good.  They're tapping the lines."