Re: [SLUG] whence /bin/mail?

From: Eben King (eben1@tampabay.rr.com)
Date: Fri Oct 15 2004 - 17:08:22 EDT


On Fri, 15 Oct 2004, steve szmidt wrote:

> On Friday 15 October 2004 03:20 pm, Eben King wrote:
> > On Fri, 15 Oct 2004, steve szmidt wrote:
> > > On Friday 15 October 2004 01:27 pm, Eben King wrote:
> > > > Back when (Redhat 7.2 and before?) there was a utility called "mail"
> > > > with which I could do thing like
> > > >
> > > > echo "Time to make the doughnuts." | mail -s "Doughnut time"
> > > > emp@dunkin.com
> > > >
> > > > which would send a mail with the subject "Doughnut time" and the body
> > > > "Time to make the doughnuts." to emp@dunkin.com . No executable called
> > > > "mail" exists anywhere that I can find. I'm using Redhat 8
> > > > (sendmail-8.12.5-7). How do I regain that functionality?
> > >
> > > That's what it still is. Check that 'man mail' works, then check your
> > > sendmail settings.
> >
> > [eben@pc eben]$ man mail
> > No manual entry for mail
> >
> > [eben@pc eben]$ locate bin/mail
> > /usr/bin/mailq
> > /usr/bin/mailstat
> > /usr/bin/mailq.sendmail
> > /usr/bin/mail-files
> > /usr/bin/mailshar
> > /usr/lib/news/bin/mailpost
> > /usr/sbin/mailstats
> >
> > What should I look for in the settings?
> >
> > mailx-8.1.1-26.i386.rpm has /bin/mail ; should I convert, or does a
> > similar utility exist in sendmail?
>
> Try installing it. : )

Thanks, that worked.

[eben@pc eben]$ ls /var/spool/mail/eben
   0 /var/spool/mail/eben

[eben@pc eben]$ echo test | mail -s test eben

[eben@pc eben]$ ls /var/spool/mail/eben
4.0K /var/spool/mail/eben

> No mail relies on sendmail (whatever your mailserver s/w is).

Well, I thought it was an MTA. Should have done an rpm -qlp ...

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Two atoms are walking along. Suddenly, one stops. The other says, "What's wrong?" "I've lost an electron." "Are you sure?" "I'm positive!"

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:49:29 EDT