configure Sendmail in AIX to send email notification

Article: 100039319
Last Published: 2013-09-09
Ratings: 9 3
Product(s): NetBackup & Alta Data Protection

Description

1) You must know your mail server name

2) Add the IP address and hostname of mail server in /etc/hosts file

3)In the configuration file /etc/sendmail.cf, the line with DS must be modified and you must specified your mail server

For Ex :
# grep -i DS /etc/sendmail.cf
# @(#)24        1.74  src/bos/usr/sbin/sendmail/sendmail.cf, cmdsend, bos53A, a2004_41A6 9/23/04 14:37:58
# COMPONENT_NAME: CMDSEND sendmail.cf
DS <SMTP mail server name>
# Note: This option is not supported in AIX. All help commands
# use MB, MG, and MR resource records? (AIX)

4) Edit the mail services in /etc/rc.tcpip

Uncomment this line if commented
start /usr/lib/sendmail "$src_running" "-bd -q${QPI.EN_US}"

5) Start the sendmail services using the below command

startsrc -s sendmail -a "-bd -q30m"

6) Ensure the smtp services are running fine
ps -ef | grep -i mail

7) Test by running email
echo “test” |sendmail –v <email address of recipient>

8) If the test is successful, just run the catalog backup and ensure you receive the email.

 

Was this content helpful?