[comp.mail.sendmail] Question on "remailing"

lcz@dptudg.sat.datapoint.com (Lee Ziegenhals) (04/29/89)

I would like to set up my mail gateway to redistribute mail coming in for
a mailing list to all of the local users.  However, I do not want to use
a simple alias for this, because I would like any redistribution errors
to be returned to a local list manager and *not* to the originator of
the mail.

I have implemented this by using the following line in my aliases file:

	'mailing-list:  "| sendmail -f list-mgr user1 user2 ..."'

which then recursively invokes sendmail to "remail" to the desired users.
The "-f list-mgr" causes any distribution errors to be sent to "list-mgr"
instead of the originator of the mail.

I am a very new user to sendmail, so my question is basically whether this
is a good way to do what I want to do.  Can I get into any trouble by
invoking sendmail from within the sendmail alias file?  Is there a better
way to do it?  I am running sendmail 5.51 under BSD 4.3.  Thanks!