// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。

以下、自宅のサーバにメールサーバを構築したときの記録です。SMTPはPostFix,POP/IMAP4はDovecotを用いています。

**SMTPサーバのインストール [#u1da2e7c]
使っているサーバはCentOS5.2ですが、標準ではSendmailが動いているようなので、デフォルトのMTAも変更しています。手順は以下の通り。
 [root@centos ~]# yum -y install postfix
 Downloading Packages:
 (1/1): postfix-2.3.3-2.1. 100% |=========================| 3.6 MB    00:04   
 Running Transaction
   Installing: postfix                      ######################### [1/1] 
 
 Installed: postfix.i386 2:2.3.3-2.1.el5_2
 Complete!
 [root@centos ~]# /sbin/service sendmail stop
 sm-client を停止中:                                        [  OK  ]
 sendmail を停止中:                                         [  OK  ]
 [root@centos ~]# chkconfig sendmail off
 [root@centos ~]# chkconfig --list sendmail
 sendmail       	0:off	1:off	2:off	3:off	4:off	5:off	6:off
 [root@centos ~]# alternatives --config mta
 
 2 プログラムがあり 'mta' を提供します。
 
   選択       コマンド
 -----------------------------------------------
 *+ 1           /usr/sbin/sendmail.sendmail
    2           /usr/sbin/sendmail.postfix
 
 Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:2
 [root@centos ~]# alternatives --config mta
 
 2 プログラムがあり 'mta' を提供します。
 
   選択       コマンド
 -----------------------------------------------
 *  1           /usr/sbin/sendmail.sendmail
  + 2           /usr/sbin/sendmail.postfix   <-変更された
 
 Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:
 [root@centos ~]# 




**POP3/IMAP4サーバのインストール [#m54cca44]



----
この記事は
#vote(おもしろかった,そうでもない)

#comment
#topicpath


SIZE(10){現在のアクセス:&counter;}

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS