Solved

Configuring and sending mail in AIX

Posted on 1998-12-10
4
374 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

737 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