Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!apple!bionet!turbo.bio.net!lear From: lear@turbo.bio.net (Eliot) Newsgroups: comp.mail.sendmail Subject: Re: redirecting error notices to mailing lists Message-ID: Date: 4 Aug 90 17:44:26 GMT References: <817@quiddity.queensu.CA> Organization: GenBank Computing Resource for Mol. Biology Lines: 14 Sendmail makes it hard for you to do it right - what you would like to do is pipe the whole message back through sendmail to set the From_ line to list-request. So what you need is an additional address- list-dist that points to your include file. Ideally you would then change the list alias to be something like the following: list: "|/usr/lib/sendmail -flist-request" The problem you'll have is that sendmail won't let you use -f from aliases when mail originates locally. The cheap solution is to write a small setuid filter that merely calls sendmail. -- Eliot Lear [lear@turbo.bio.net]