カスタム検索
tomo.gif (1144 ツバツイツト)line.gif (927 ツバツイツト)line.gif (927 ツバツイツト)line.gif (927 ツバツイツト)To previous pageTo home pageMailing to me

POP/IMAPサーバを立てる
(CentOS3.5)

Modified: 1 August 2005

自分や仲間内では、imapサーバを使い、一般の人には、popサーバを使ってもらうための設定です。

CentOS3.5では、インストールされていますから有効に競ってするだけでOKです。


POPサーバを立てる
IMAPサーバを立てる


 POPサーバを立てる 

サービスを有効にする

"/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

 IMAPサーバを立てる 

サービスを有効にする

"/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

To previous pageTo home pageMailing to meJump to Top of pageline.gif (927 ツバツイツト)line.gif (927 ツバツイツト)tomo.gif (1144 ツバツイツト)
カスタム検索


Tweet