Solved

Configuring and sending mail in AIX

Posted on 1998-12-10
4
360 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
Comment Utility
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 11

Accepted Solution

by:
tel2 earned 100 total points
Comment Utility
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
Comment Utility
you need to kill and restart sendmail after changing sendmail.cf
0
 
LVL 11

Expert Comment

by:tel2
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

772 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

10 Experts available now in Live!

Get 1:1 Help Now