Solved

Configuring and sending mail in AIX

Posted on 1998-12-10
4
365 Views
Last Modified: 2010-04-21
How do I configure my rs6000 to send and recieve mail.
What do I need to make sure is running and what files need to be edited before mail can be sent and recieved
0
Comment
Question by:sureshgovind
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008295
you need to adjust /etc/sendmail.cf
then enable SMTP in smitty.
Keep in mind that you usually need a working DNS (named).
0
 
LVL 12

Accepted Solution

by:
tel2 earned 100 total points
ID: 2008296
Here's how to "send" mail - not sure how to receive.  This requires you to already have a mail server and know its IP address.

At my work, we editted the /etc/sendmail.cf file (as ahoffmann says), and changed the line which says:
  DRRelayHostName
to read:
  DR123.45.67.890    (or whatever the IP address of your mail server? is).

Do a:
  ps -ef | grep sendmail | grep -v grep
to ensure /usr/lib/sendmail is running.  Our system currently displays output from this command as:
root   8482   7932   0   Jan 01      -  0:03 /usr/lib/sendmail -bd -q30m

OK?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008297
you need to kill and restart sendmail after changing sendmail.cf
0
 
LVL 12

Expert Comment

by:tel2
ID: 2008298
Ahoffmann is right (again) - you need to restart sendmail.  One option is to reboot, but it's much easier just to issue the command:
  refresh -f sendmail
Those are the only 2 things I had to do to enable "sending" Email on AIX 3.2.4, 3.2.5 and 4.1.5 at my work (ie: edit sendmail.cf & refresh).  I believe receiving mail will require changes on your mail server or DNS or something.  Maybe ahoffmann can supply DETAILS?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now