Sun N1 System Manager 1.2 Site Preparation Guide

ProcedureTo Configure the Mail Service on a Solaris Management Server

Steps
  1. Log in as root to the management server.

  2. Add the following lines to the file /etc/inetd.conf:

    imap    stream  tcp     nowait  root    /opt/sfw/sbin/imapd imapd
    pop2    stream  tcp     nowait  root    /opt/sfw/sbin/ipop2d ipop2d
    pop3    stream  tcp     nowait  root    /opt/sfw/sbin/ipop3d ipop3d
  3. Type the command inetconv to generate the email service manifests.

    For example:


    # inetconv 
    inetconv: Notice: Service manifest for 100235/1 already generated as 
       /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
    inetconv: Notice: Service manifest for tftp already generated as 
       /var/svc/manifest/network/tftp-udp6.xml, skipped
    inetconv: Notice: Service manifest for 100083/1 already generated as 
       /var/svc/manifest/network/rpc/100083_1-rpc_tcp.xml, skipped
    inetconv: Notice: Service manifest for 100068/2-5 already generated as 
       /var/svc/manifest/network/rpc/100068_2-5-rpc_udp.xml, skipped
    imap -> /var/svc/manifest/network/imap-tcp.xml
    Importing imap-tcp.xml ...Done
    pop3 -> /var/svc/manifest/network/pop3-tcp.xml
    Importing pop3-tcp.xml ...Done
  4. Restart the inetd service.

    Determine the inetd service process ID, and then restart the service using the command syntax kill -hup processid.

    For example:


    # ps -ef | grep inet
        root   410     1   0 16:12:20 ?           0:04 /usr/lib/inet/inetd start
    # kill -HUP 410
    
  5. Verify that the pop3 and imap mail services have started.

    Type the commands inetadm | grep pop3 and inetadmin | grep imap. For example:


    # inetadm |grep pop3
    enabled   online         svc:/network/pop3/tcp:default
    # inetadm |grep imap
    enabled   online         svc:/network/imap/tcp:default
  6. Type /etc/init.d/sendmail restart to restart the mail service.

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.