Sun N1 System Manager 1.2 Site Preparation Guide

ProcedureTo Configure the Mail Service on a Linux Management Server

  1. Log in as root to the management server.

  2. Configure the pop3 mail service.

    Edit the file /etc/xinetd.d/ipop3 and ensure that the file contains the following entries:

    # default: off
    # description: The POP3 service allows remote users to access their mail \
    #              using an POP3 client such as Netscape Communicator, mutt, \
    #              or fetchmail.
    service pop3
            disable = no
            socket_type             = stream
            wait                    = no
            user                    = root
            server                  = /usr/sbin/ipop3d
            log_on_success  += HOST DURATION
            log_on_failure  += HOST
            instances               = 50
            cps                     = 70 30
  3. Ensure that the ipop3 service has been set to run at levels 3, 4, and 5 by typing the command chkconfig --level 345 ipop3 on.

  4. Type the following commands to restart the mail service.

    Wait for the first command to complete before typing the second command.

    /etc/rc3.d/S80sendmail restart

    /etc/rc3.d/S56xinetd restart

    For example:

    [root]# /etc/rc3.d/S80sendmail restart
    Shutting down sendmail:                                [  OK  ]
    Shutting down sm-client:                               [  OK  ]
    Starting sendmail:                                     [  OK  ]
    Starting sm-client:                                    [  OK  ]
    [root]# /etc/rc3.d/S56xinetd restart
    Stopping xinetd:                                       [  OK  ]
    Starting xinetd:                                       [  OK  ]
  5. Type the following commands to verify whether the mail service has restarted.

    netstat -an |grep 110

    netstat -an |grep 25

    For example:

    [root]# netstat -an | grep 110
    tcp    0    0*          LISTEN
    [root]# netstat -an | grep 25
    tcp    0    0*          LISTEN
Next Steps

Install and configure the N1 System Manager software on your management server as described in the Sun N1 System Manager 1.2 Installation and Configuration Guide.