Sun N1 System Manager 1.2 サイト計画の手引き

ProcedureLinux 管理サーバーでメールサービスを設定する

手順
  1. 管理サーバーに、root でログインします。

  2. pop3 メールサービスを設定します。

    /etc/xinetd.d/ipop3 を編集します。必ずファイルに次のエントリが含まれるようにしてください。

    # 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. chkconfig --level 345 ipop3 on コマンドを入力し、ipop3 サービスが、レベル 3、4、および 5 で実行されるように設定されていることを確認します。

  4. 次のコマンドを入力して、メールサービスを再起動します。

    2 つ目のコマンドは、1 つ目のコマンドが完了してから入力してください。

    /etc/rc3.d/S80sendmail restart

    /etc/rc3.d/S56xinetd restart

    次に例を示します。


    [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. 次のコマンドを入力して、メールサービスが再起動したかどうかを確認します。

    netstat -an |grep 110

    netstat -an |grep 25

    次に例を示します。


    [root]# netstat -an | grep 110
    tcp    0    0 0.0.0.0:110         0.0.0.0:*          LISTEN
    [root]# netstat -an | grep 25
    tcp    0    0 192.168.1.104:25    0.0.0.0:*          LISTEN
次の手順

管理サーバーに、N1 System Manager ソフトウェアをインストールします。『Sun N1 System Manager 1.2 インストールおよび構成ガイド』を参照してください。