Configuring Your Server to Send but Not Receive Email

For security reasons, some organizations do not allow incoming mail. If you want your Instant Capacity system to only send email but not receive email, complete the following configuration procedure:

1.To prevent the sendmail daemon from starting up again when your system reboots, edit the /etc/rc.config.d/mailservs file, and change the value of SENDMAIL_SERVER to 0:

vi /etc/rc.config.d/mailservs

#########################################

# Mail configuration. See sendmail(1m) #

#########################################

#

#BSD’s popular message handling system

#

SENDMAIL_SERVER:

Set

to 1 if this is a mail server

#

 

and

should run the sendmail deamon.

# SENDMAIL_SERVER_NAME: If this is not a mail server, but a

#

client being served by another

#

system, then set this variable to

#

the name of the mail server system

#

name so that site hiding can be

#

performed.

#

 

export SENDMAIL_SERVER=0

 

export SENDMAIL_SERVER_NAME=

2.To immediately stop the server from receiving email, kill the active sendmail daemon by executing the following command:

/sbin/init.d/sendmail stop

Testing Email Transmission of the Asset Report

NOTE: The following procedure assumes your Instant Capacity system is capable of sending internet email.

Execute the following command to send your asset report by email to HP:

/usr/sbin/icapnotify <reply_address>

The specified reply_address receives an acknowledgment email from HP confirming the receipt of your asset report. Use an email client to verify the acknowledgment email from HP to the reply_address.

Configuring Email on Instant Capacity Systems 205

Page 205
Image 205
HP Instant Capacity (iCAP) manual Configuring Your Server to Send but Not Receive Email