dovecotインストール&設定 - Linux
Dovecot(だぶこっと? 鳩小屋の意) とは、セキュリティを第一に考えて書かれたオープンソースのIMAPとPOP3サーバです。
また、MBOXとMAILDIR 形式 の両方をサポートしており、Exim、Sendmail、Postfix、QMailなどのMTA と互換性を持っています。
■dovecotインストール
# yum -y install dovecot
■dovecot設定
# vi /etc/dovecot.conf
以下の太字部分が設定箇所
対応するプロトコルを指定
# Protocols we want to be serving:
# imap imaps pop3 pop3s
#protocols = imap imaps
protocols = imap imaps pop3 pop3s
メールスプールをMaildir形式に指定
# Default MAIL environment to use when it’s not set. By leaving this empty
# dovecot tries to do some automatic detection as described in
# doc/mail-storages.txt. There’s a few special variables you can use:
#
# %u - username
# %n - user part in user@domain, same as %u if there’s no domain
# %d - domain part in user@domain, empty if user there’s no domain
# %h - home directory
#
# You can also limit a width of string by giving the number of max. characters
# after the ‘%’ character. For example %1u gives the first character of
# username. Some examples:
#
# default_mail_env = maildir:/var/mail/%1u/%u/Maildir
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
#
#default_mail_env =
default_mail_env = maildir:~/Maildir
■dovecot起動
# /etc/init.d/dovecot start
Dovecot Imap を起動中: [ OK ]
- カテゴリ:Web開発
- 公開日:2007/12/27
- ↑ 記事評価をお願いします。
