[lug] Does mail speak SMTP?

Dhruva B. Reddy bdhruva at gmx.net
Fri Feb 13 13:27:25 MST 2004


Oops.  It turns out the MTA was just not reading the configuration.
In RedHat you have to manually copy your sendmail.cf file to the /etc
directory.  I kept rebuilding it with m4 in the /etc/mail directory and
found out that it was never reading that file.  So basically it was just
me forgetting the file location that RedHat likes.

Thanks for the response,
-d

On Thu, 12 Feb 2004 at 19:10 -0700, Andrew Diederich soliloquized thusly:
> I ran into this (well, something with mail) a year or so ago.  For solaris,
> mail uses config files of /etc/mail/mailx.cnfg and /etc/mail/Mail.rc.
> My problem was that /usr/ucb/mail and /usr/lib/sendmail on Solaris 
> were using different lookup tables in postfix.  But anyway, that's what
> I found out for Solaris.  
> 
> Hope it helps.
> 
> -- 
> Andrew Diederich
> diederic at boulder.net
> 
> On Thu, 12 Feb 2004, Dhruva B. Reddy wrote:
> 
> > I had always assumed that the "mail" application uses the system's local
> > MTA.  Yet, we just tried running it on a Redhat 7.3 box, and it appears
> > to try to go directly to the destination SMTP server.  Below is the
> > result of running "mail -v"
> > 
> > Am I correct in my assumption.  If so, is there a way to force "mail" to
> > use the local MTA?
> > 
> <snip>
> > 
> > Thanks,
> > -d
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

-- 
 "Those who would give up essential liberty to purchase a little temporary
 safety deserve neither liberty or safety. Nor, are they likely to end
 up with either."-- Benjamin Franklin




More information about the LUG mailing list