[comp.mail.mush] 1 arg per MTA invocation ?

ronald@robobar.co.uk (Ronald S H Khoo) (06/04/90)

Any chance of an option to ask mush to call the MTA once per recipient ?
I've looked hard at the FM/config.h/source and don't see one.

Why do I want one?  Try running smail and mailing someone whose address
needs to be passed off to a smart-host, AND Cc'ing someone local.  Ugh.

Also useful if someone downstream doesn't grok multiple rmail args.

I know this is really a FIX-THE-MTA issue, but it would be a
generally useful workaround feature.  Besides, doesn't ELM have this? :-)

Please ?  Pretty Please ?  Pretty please with a lump of sugar on top ?
-- 
Eunet: Ronald.Khoo@robobar.Co.Uk  Phone: +44 81 991 1142  Fax: +44 81 998 8343
Paper: Robobar Ltd. 22 Wadsworth Road, Perivale, Middx., UB6 7JD ENGLAND.

argv@turnpike.Eng.Sun.COM (Dan Heller) (06/05/90)

In article <1990Jun4.091622.24356@robobar.co.uk> ronald@robobar.co.uk (Ronald S H Khoo) writes:
> Any chance of an option to ask mush to call the MTA once per recipient ?
Yes, there's a good chance.  I've needed this option as well.  I'm sure
everyone has run into this one... You mail a bunch of people, you Bcc:
a friend, that friend gets the mail and doesn't notice that he's been
blind carbon copied and does a replyall... <palm of hand hits forehead>
Calling the MTA separately for (at least) the Bcc person and then
again optionally for each recipient (as needed) might be worthwhile.

However, there is certainly an adequate workaround (I think).  That is,
write a shell script that takes the command line args and calls the
MTA separately for each arg.  Use that shell script as your MTA :-)
As a matter of fact, the more I think of it, the better this idea
is than fixing Mush -- if Mush were to fork off a new MTA process
for each reciepient, there's N mush's running at the same time plus
copies of the MTA, plus copies of the shell (mush calls popen() still).
If the shell script idea is used, mush forks once (as usual) and
returns.  The shell script forks a lot, but it's a much cheaper
expense as far as the system is concerned.

However, my problem still isn't solved -- I still have to notify
the Bcc: recipient that he's been Blind Carbon Copied in big, bold
neon letters at the top of the message --unfrotunately, this does
require Mush passing two messages to the MTA.

>   Besides, doesn't ELM have this? :-)
I don't know, does it?

--
dan
----------------------------------------------------
O'Reilly && Associates   argv@sun.com / argv@ora.com
Opinions expressed reflect those of the author only.