LinuxServer 電子メールについてもう一度… POP3/IMAP4 サーバの設定
DovecotはPOP3/IMAP4に対応したLinuxServerで稼働するメール配送エージェントです。
今回はDovecotでPOP3/IMAP4サーバを構築してみましょう。
インストールと設定
今回もインストール環境はCentOS6.3を使います
yumコマンドを使用し、パッケージをインストールします。
# yum install dovecot
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: rsync.atworks.co.jp
* epel: ftp.kddilabs.jp
* extras: rsync.atworks.co.jp
* updates: rsync.atworks.co.jp
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package dovecot.x86_64 1:2.0.9-2.el6_1.1 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
===============================================================
Package Arch Version Repository Size
===============================================================
Installing:
dovecot x86_64 1:2.0.9-2.el6_1.1 base 1.9 M
Transaction Summary
=================================================================
Install 1 Package(s)
Total download size: 1.9 M
Installed size: 5.6 M
Is this ok [y/N]: y
Downloading Packages:
dovecot-2.0.9-2.el6_1.1.x86_64.rpm | 1.9 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:dovecot-2.0.9-2.el6_1.1.x86_64 1/1
Verifying : 1:dovecot-2.0.9-2.el6_1.1.x86_64 1/1
Installed:
dovecot.x86_64 1:2.0.9-2.el6_1.1
Complete!
インストールを完了すると/etc/dovecotというディレクトリができ、
下記のファイル群が保存されます
# ls -l /etc/dovecot/
total 8
drwxr-xr-x 2 root root 4096 Oct 15 16:23 conf.d
-rw-r–r– 1 root root 3455 Dec 30 2010 dovecot.conf
# ls -l /etc/dovecot/conf.d/
total 104
-rw-r–r– 1 root root 5157 Jun 26 2010 10-auth.conf
-rw-r–r– 1 root root 1691 Dec 30 2010 10-director.conf
-rw-r–r– 1 root root 2730 Jun 26 2010 10-logging.conf
-rw-r–r– 1 root root 14449 Sep 24 2011 10-mail.conf
-rw-r–r– 1 root root 2920 Dec 30 2010 10-master.conf
-rw-r–r– 1 root root 1674 Sep 24 2011 10-ssl.conf
-rw-r–r– 1 root root 1513 Dec 30 2010 15-lda.conf
-rw-r–r– 1 root root 2148 Dec 30 2010 20-imap.conf
-rw-r–r– 1 root root 469 Dec 30 2010 20-lmtp.conf
-rw-r–r– 1 root root 3532 Dec 30 2010 20-pop3.conf
-rw-r–r– 1 root root 676 Jun 12 2010 90-acl.conf
-rw-r–r– 1 root root 292 Jun 12 2010 90-plugin.conf
-rw-r–r– 1 root root 2251 Jun 12 2010 90-quota.conf
-rw-r–r– 1 root root 496 Mar 26 2010 auth-checkpassword.conf.ext
-rw-r–r– 1 root root 486 Mar 26 2010 auth-deny.conf.ext
-rw-r–r– 1 root root 802 Mar 26 2010 auth-ldap.conf.ext
-rw-r–r– 1 root root 558 Mar 26 2010 auth-master.conf.ext
-rw-r–r– 1 root root 329 Mar 26 2010 auth-passwdfile.conf.ext
-rw-r–r– 1 root root 785 Mar 26 2010 auth-sql.conf.ext
-rw-r–r– 1 root root 608 Jun 12 2010 auth-static.conf.ext
-rw-r–r– 1 root root 2106 Mar 26 2010 auth-system.conf.ext
-rw-r–r– 1 root root 302 Mar 26 2010 auth-vpopmail.conf.ext