POP/IMAPサーバを立てる
(CentOS3.5)Modified: 1 August 2005
自分や仲間内では、imapサーバを使い、一般の人には、popサーバを使ってもらうための設定です。
CentOS3.5では、インストールされていますから有効に競ってするだけでOKです。
サービスを有効にする
"/etc/xinetd.d/ipop3"を開き、"disable = no"にすると有効になります。
開くポートは、110 です。
# 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 { socket_type = stream wait = no user = root server = /usr/sbin/ipop3d log_on_success += HOST DURATION log_on_failure += HOST disable = no }
起動する
以下のコマンドで起動し、自動起動にも設定します。
# service xinetd restart # chkconfig xinetd on
![]()
サービスを有効にする
"/etc/xinetd.d/imap"を開き、"disable = no"にすると有効になります。
開くポートは、143 です。
# default: off # description: The IMAP service allows remote users to access their mail using \ # an IMAP client such as Mutt, Pine, fetchmail, or Netscape \ # Communicator. service imap { socket_type = stream wait = no user = root server = /usr/sbin/imapd log_on_success += HOST DURATION log_on_failure += HOST disable = no }
起動する
以下のコマンドで起動し、自動起動にも設定します。
# service xinetd restart # chkconfig xinetd on