How to setup sendmail on IBM AIX 5.1L

I am trying to setup sendmail on our IBM server to send email.  We do not have a local email server or exchange server.  We use a cable modem for internet access (thru a Cisco router).  The SMTP server that we use on PC's is smtp.charter.net.   I need help getting sendmail setup so that I can send emails from the IBM server out to users off our internal network.
9thTeeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
http://www.sendmail.org/m4/readme.html
Latest ML patch must be applied first, so sendmail is updated and safe:
http://www-912.ibm.com/eserver/support/fixes/maintpkg.jsp?system=2&release=51

Move to Sendmail area when you are done with AIX (by asking in Community Support)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cpc2004Commented:
If you want to setup name service,  Step 1 to 4. Otherwise execute step 5 only.

Setup mail service
1. Install name service and fileset name is bos.net.tcp.server
2. Create client dns configuration file, /etc/resolv.conf
    Domain            test.com
    Nameserver      xxx.xxx.xxx.xxx
3. Log all the mail message to syslog
      Change /etc/syslog.conf to include deamon.debug  /tmp/syslog.conf
      Restart syslogd daemon
      Touch /tmp/syslog.out
      Stopsrc -s syslogd
      Startsrc -s syslogd
4.    Restart name service
       Restart named service
       Stopsrc -s named
       Startsrc -s named
5. Change the Cw setting
    Change /etc/sendmail.cf
     Find the following entries:
          #Cw localhost $w $?m$w.$m$. YourHostAliases
          #Cm $m YourOtherDomainNames
          Cwlocalhost

      Change to the following:
          Cw localhost $w $?m$w.$m$. mcling3
          #Cm $m YourOtherDomainNames
          #Cwlocalhost
cpc2004Commented:
After you change sendmail.cf, issue the following command to send mail to host1.

mail -v user1l@host1 < your_mail.txt
mail -v user1@xxx.xxxx.xxx.xx < your_mail.txt
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

gheistCommented:
And better stay away from editing sendmail.cf ...
btw syslog is not started on AIX by default.
cpc2004Commented:
I only changed the sendmail.cf and I can send mail to my email server. I raised the question to IBM two years ago to ask for the procedure to setup mail service and it was IBM reply.
9thTeeAuthor Commented:
The thing I do not understand is how the IBM server will use the smtp name.  The IBM server cannot ping a site like cnn.com but can ping its IP address.  So somehow I have to give it an IP address to get to or setup the IBM server to use a DNS server somewhere.  

Mark
gheistCommented:
http://www.cymru.com/Documents/secure-bind-template.html

add listen-on "127.0.0.1" to options to not serve others

if your named.root seems old latest is here:
ftp://ftp.internic.net/domain/named.root
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.