Debian 6.0
Sponsored Link

Dovecot インストール/設定2011/03/12

  DovecotをインストールしてPOP/IMAPサーバーを構築します。Postfix にSASL機能が提供できるように設定します。
root@mail:~#
aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd


root@mail:~#
vi /etc/dovecot/dovecot.conf


# 53行目:コメント解除し変更 (平文パスワードも許可)

disable_plaintext_auth =
no


# 95行目:コメント解除し変更 (SSLなし)

ssl =
no


# 230行目:コメント解除して追記

mail_location =
maildir:~/Maildir


# 893行目:追記

mechanisms = plain
login


# 1120行目:以下のように変更

socket listen {    
# コメント解除

#master {

# Master socket provides access to userdb information. It's typically

# used to give Dovecot's local delivery agent access to userdb so it

# can find mailbox locations.

#path = /var/run/dovecot/auth-master

#mode = 0600

# Default user/group is the one who started dovecot-auth (root)

#user =

#group =

#}

client {
   
# コメント解除

# The client socket is generally safe to export to everyone. Typical use

# is to export it to your SMTP server so it can do SMTP AUTH lookups

# using it.

path =
/var/spool/postfix/private/auth-client
 
# コメント解除し変更

mode = 0660
   
# コメント解除

user = postfix
   
# 追記

group = postfix
   
# 追記

}
   
# コメント解除

}    
# コメント解除


root@mail:~#
/etc/init.d/dovecot restart

Restarting IMAP/POP3 mail server: dovecotIf you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
.
関連コンテンツ