> > Why can't resend just do the list expansion itself?
> I think the problem is that you want to invoke sendmail just once for each
> message. If resend did the list expansion itself, you'd have to start up
> sendmail once for each address on the list.
How do you figure? Sendmail is quite happy to take as many addresses on the
command line as you want to feed it... certainly more than will fit in (for
example) a UUCP control file.
You only need one sendmail per <XXX> entries, and on modern UNIX <XXX> is
pretty large. Large enough that the overhead *within* sendmail is going to
dominate.
> Along those same lines, I don't think there's a way to use the magic-cookie
> approach -- you could make the "-outgoing" alias point to a program that
> checks for the magic cookie, but that program would still have to call
> sendmail using an alias to the file containing the mailing list.
And then *that* alias would show up in the "received" line. It's an
infinite regress.
I've just started with Majordomo but I've been hacking email long enough to
grok sendmail's behaviour pretty well.
References:
|
|