Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!hplabs!hplabsz!mayer From: mayer@hplabsz.HPL.HP.COM (Niels Mayer) Newsgroups: comp.mail.mh Subject: Re: non-interactive MH Message-ID: <1606@hplabsz.HPL.HP.COM> Date: 23 Feb 88 01:51:18 GMT References: <7014@sol.ARPA> Reply-To: mayer@hplabsz.UUCP (Niels Mayer) Organization: Hewlett-Packard Laboratories Lines: 24 You can easily make comp, repl, dist, forw "noninteractive" by specifying -whatnowproc mh/send to those programs. Assuming that those programs somehow get a sendable draft file, specifying -whatnowproc as above will just send it directly. Here's an excerpt from a digest service script run nightly via at(1), just so you can get the idea of how to use forw -digest: .... pick +lotsbb -after "$bb-timestamp" forw +lotsbb select -digest LOTS-BBOARD -whatnowproc /usr/new/mh/send -form ~/bb-digester/bbdigestcomps -filter /usr/new/lib/mh/mhl.digest .... The draft format file ~/bb-digester/bbdigestcomps is the same as lib/mh/digestcomps except that I hardwired the names of the people on the distribution list and removed the hardwired "From:" entry for various obscure reasons... You can also use the default draft format file in lib/mh/digestcomps in conjunction with distribution lists in your mh-alias file. ------------------------------------------------------------------------------- Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com Hewlett-Packard Laboratories Palo Alto, CA. *