Debian 4.0
Sponsored Link

POP/IMAPサーバー構築
2008/08/25
  Dovecotを使ってPOP/IMAPサーバーを構築します。
mail:~#
aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd

Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  libmysqlclient15off libpq4 mysql-common
The following packages have been kept back:
  libkrb53
The following NEW packages will be installed:
  dovecot-common dovecot-imapd dovecot-pop3d libmysqlclient15off libpq4
  mysql-common
0 packages upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
Need to get 4298kB of archives. After unpacking 9167kB will be used.
Writing extended state information... Done
Get:1 http://ftp.jp.debian.org etch/main mysql-common 5.0.32-7etch1 [52.9kB]
Get:2 http://ftp.jp.debian.org etch/main libmysqlclient15off 5.0.32-7etch1 [1791kB]
Get:3 http://security.debian.org etch/updates/main libpq4 8.1.9-0etch1 [270kB]
Get:4 http://ftp.jp.debian.org etch/main dovecot-common 1.0.rc15-2 [1129kB]
Get:5 http://ftp.jp.debian.org etch/main dovecot-imapd 1.0.rc15-2 [544kB]
Get:6 http://ftp.jp.debian.org etch/main dovecot-pop3d 1.0.rc15-2 [512kB]
Fetched 4298kB in 3s (1149kB/s)
Selecting previously deselected package mysql-common.
(Reading database ... 22687 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.0.32-7etch1_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.32-7etch1_i386.deb) ...
Selecting previously deselected package libpq4.
Unpacking libpq4 (from .../libpq4_8.1.9-0etch1_i386.deb) ...
Selecting previously deselected package dovecot-common.
Unpacking dovecot-common (from .../dovecot-common_1.0.rc15-2_i386.deb) ...
Selecting previously deselected package dovecot-imapd.
Unpacking dovecot-imapd (from .../dovecot-imapd_1.0.rc15-2_i386.deb) ...
Selecting previously deselected package dovecot-pop3d.
Unpacking dovecot-pop3d (from .../dovecot-pop3d_1.0.rc15-2_i386.deb) ...
Setting up mysql-common (5.0.32-7etch1) ...
Setting up libmysqlclient15off (5.0.32-7etch1) ...

Setting up libpq4 (8.1.9-0etch1) ...

Setting up dovecot-common (1.0.rc15-2) ...
adduser: Warning: that home directory does not belong to the user you are currently creating.
Adding user `dovecot' to group `mail' ...
Done.
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).

Setting up dovecot-imapd (1.0.rc15-2) ...

Setting up dovecot-pop3d (1.0.rc15-2) ...

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


# 21行目:追記

protocols =
imap imaps pop3 pop3s


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

disable_plaintext_auth =
no


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

mail_location =
maildir:~/Maildir


mail:~#
chgrp dovecot /var/run/dovecot


mail:~#
/etc/init.d/dovecot start

Starting mail server: dovecotWarning: Fixing permissions of /var/run/dovecot to be world-readable
Warning: Corrected permissions for login directory /var/run/dovecot/login
関連コンテンツ
 
Tweet