SUMMARY: Is Sendmail needed? How to configure mailx? MUA & MTA

From: Melissa Young <thesunlover2002_at_yahoo.com>
Date: Mon Jan 26 2004 - 13:37:59 EST
Thank you so much for your replies:
"Erwin Fritz" <efritz@glja.com>
"Lars Hecking" <lhecking@nmrc.ie>
"Andy Malato" <andym@oak.njit.edu>
"Bill R. Williams" <brw@etsu.edu>
"Steven Haywood" <steven.haywood@teamuk.telstra.com>
"Darren Dunham" <ddunham@taos.com>
"Rich Bishop" <rjb38@drexel.edu>
"Anthony Talltree" <aad@verio.net>

Please allow me to use Bill Williams?s excellent
explanation as the summary of this question. I will
supplement the summary if more constructive info is
received.

(I haven?t written a summary yet for the question of
?sendmail ignores DNS MX record? because the problem
is not solved yet).

Bill?s answer:
Whether you need sendmail daemon running to send email
depends upon the version of sendmail.
You are running Solaris 2.6, and mailx works fine.
With the version of sendmail you have installed, you
don't need the daemon running. However, should you go
to a new Solaris and/or sendmail version you will see
a change to this behavior.
For your future consideration...
We have Solaris 5.9 and $Id: sendmail.h,v 8.919.2.17
On this version (and newer Linux distributions) the
security additions and enhancements change the way the
sendmail service works with the mail[x] client. There
is a "client" daemon running in addition to the server
daemon. On Solaris 5.9, the 'ps' shows this:

root 15030     1  0   Jan 13 ?        0:00
/usr/lib/sendmail -bd -q15m
smmsp 15028     1  0   Jan 13 ?        0:00
/usr/lib/sendmail -Ac -q15m

The one running with '-Ac' is the client-level daemon.
Without it the 'mailx' will not work, because the
outbound mail (from mailx) gets staged/queued into a
client queue instead of being delivered immediately by
the mailx command.
A complete description of the newer sendmail is beyond
my ability to explain; however, you can set the
sendmail configuration so that it accepts ONLY from
the 'localhost' which means "only this machine" --
which is pretty much the behavior you have now.
('localhost' only may be the default.) You can also
setup to RELAY only for systems based upon some
criteria you specify: domain.name, IP Address, etc.
You get quite a bit of flexibility and control with
the new version, but you will have to run the client
daemon to send mail.

/////////////////////
Original Question:
I have some questions about Solaris mail here. Here
are our system policies:
1) All SUN systems are mail clients. The mail server
is MS Exchange.
2) All SUN systems are disallowed to receive emails.
3) All SUN systems need to send emails out among our
LANs (not to the Internet).
On a test system running Solaris 2.6, after I stopped
sendmail daemon, I can still send mail out by using
mailx. I understand some MUA can conduct basic MTA
functions.
My questions:
1) Is sendmail needed to run in such a environment?(It
seems not)
2) As a MUA, how does mailx conduct the MTA functions?
For example, how does mailx recognize DNS without
using MX? Its configuration file /etc/mail/mailx.rc
does not contain much information.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jan 26 13:37:41 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:28 EST