Log in as root to the management server.
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
Type the command inetconv to generate the email service manifests.
# 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
Restart the inetd service.
Determine the inetd service process ID, and then restart the service using the command syntax kill -hup processid.
# ps -ef | grep inet root 410 1 0 16:12:20 ? 0:04 /usr/lib/inet/inetd start # kill -HUP 410
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
Type /etc/init.d/sendmail restart to restart the mail service.
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.