> > > Pass this file to "sendmail" with the command:
> > > /usr/lib/sendmail -t < /tmp/mail9999
> > > Your mileage may vary, depending on what program your system actually
> > > uses (other than "sendmail"), the exact location of that program
> > > (other than "/usr/lib"), etc.
> > Typically on non sendmail systems, sendmail is a symbolic link to the
> > actual MTA on your system. That MTA being sendmail syntax compatible,
> > generally (I'd like to hear which major *nix MTAs are not?). So you
> > should be alright.
> > lrwxrwxrwx 1 root root 4 Jan 14 2001 /usr/sbin/sendmail -> exim
> I don't think you've answered to *my* question (How to tell "mail" program
> to use "Reply-To:" header). What a mess..
I checked the "man" page on our Solaris system, and couldn't see any
way it could do it. So, I figured maybe you'd like to have at least
*ONE* solution, if perhaps not the solution you were looking for.
I.e., I didn't think your problem was "getting 'mail' to do
something", but rather you wanted to "do something", and you thought
you could do it using "mail", and wanted to know how. Seeing as how
(at least on Solaris) it *CAN'T* be done with "mail", I told you how
it can be done.
Let me know if you still need the exact text of my posting. If you
can't find it using a search mechanism, I'll be happy to get it and
post it again!
As to it being a "mess", well, it's really not all that bad. You
could easily write a shell script, call it "mymail", and have it
more-or-less emulate the essential features of "mail". I.e., capture
the "From:" line, the "Reply-To:" line, the list of recipients, the
"Subject:" line, and the body of the message, format it, then pass it
to sendmail. Take an experienced shell programmer maybe an hour,
including testing. If you want *all* the features of the original
mail, then probably rather longer.
If you're trying to get users to use "mail" as an actual end-user
mail-tool, you're probably better off downloading "elm", "mutt",
"pine", etc., which are actually designed a little bit more with "real
people" in mind instead of programmers. They tend to be
fully-featured, including dummying up whatever headers you happen to
Plus they usually come with a "command line" mode that emulates the
syntax for "mail". I.e., you can have a shell script command that
and it will work just like "mail", including the "Reply-To:" if so