SUMMARY: How to start a program by sendmail

From: Simon Shickman (
Date: Sun May 30 1993 - 14:36:23 CDT

The question was:
>I use sendmail+IDA and I need to create a pseudo-host that traps
>mail and pipe the mail to a program.
>I think that this is easily done for a pseudo-user with an entry
>in the aliases file, but would like to have have a pseudo-host.
First of all, I would like to apologize, if the question did not
belong to the list. However, I did get few requests for summary.

Here is an answer from Robert Andersson that summarizes it:
|Quite easy to do with IDA sendmail. Basically you define a mailer in your
|.m4 file, and add entries to the mailertable using it. Belows is a copy
|of our setup. is our real domain, is the pseudo-domain
|that gets routed into the serverx mailer.
|define(TRUSTEDUSERS, serverx news)
|define(MAILERTABLE, LIBDIR/mailertable)
|define(ALIASES, /etc/aliases)
|define(UUCPNAME, gars)
|Mserverx, P=/local/bin/, F=CDFMPhmnu, S=10, R=10, ginet $u

I would like to thank all of you that answered.
From: "Marc P. Rinfret" <>
From: Robert Andersson <>
From: (Joel Shandelman)
From: Steve Lodin <>
From: (David St. Pierre)
From: fabrice@cisk.ATMOS.Ucla.EDU (Fabrice Cuq)
From: Jim Lick <>
From: (Pauline van Winsen)
From: steve@avalon.Dartmouth.EDU (Steve Campbell)
From: (Hal Stern - NE Area Systems Engineer)

Simon Shickman
Computation Center				voice:	+972-2-584138
The Hebrew University of Jerusalem		fax:	+972-2-527349
Jerusalem 91904, ISRAEL				bitnet: simon@hujivms

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:54 CDT