Archive: 2011/04/24

さくらのVPS 3日目

21日22日に続いてメールサーバpostfixdovecot-postfixのinstall。ちなみにpostfixがVersion 2.7.0-1で、dovecot-postfixはVersion 1:1.2.9-1ubuntu6となった。

$ apt-get install postfix dovecot-postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dovecot-common dovecot-imapd dovecot-pop3d libpq5
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader
The following NEW packages will be installed:
dovecot-common dovecot-imapd dovecot-pop3d dovecot-postfix libpq5 postfix
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,371kB of archives.
After this operation, 19.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main libpq5 8.4.7-0ubuntu0.10.04 [86.2kB]
Get:2 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-common 1:1.2.9-1ubuntu6.3 [5,216kB]
Get:3 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-imapd 1:1.2.9-1ubuntu6.3 [1,165kB]
Get:4 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-pop3d 1:1.2.9-1ubuntu6.3 [1,064kB]
Get:5 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main postfix 2.7.0-1ubuntu0.1 [1,321kB]
Get:6 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-postfix 1:1.2.9-1ubuntu6.3 [518kB]
Fetched 9,371kB in 5s (1,782kB/s)
Preconfiguring packages ...
Selecting previously deselected package libpq5.
(Reading database ... 43158 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_8.4.7-0ubuntu0.10.04_i386.deb) ...
Selecting previously deselected package dovecot-common.
Unpacking dovecot-common (from .../dovecot-common_1%3a1.2.9-1ubuntu6.3_i386.deb) ...
Selecting previously deselected package dovecot-imapd.
Unpacking dovecot-imapd (from .../dovecot-imapd_1%3a1.2.9-1ubuntu6.3_i386.deb) ...
Selecting previously deselected package dovecot-pop3d.
Unpacking dovecot-pop3d (from .../dovecot-pop3d_1%3a1.2.9-1ubuntu6.3_i386.deb) ...
Selecting previously deselected package postfix.
Unpacking postfix (from .../postfix_2.7.0-1ubuntu0.1_i386.deb) ...
Selecting previously deselected package dovecot-postfix.
Unpacking dovecot-postfix (from .../dovecot-postfix_1%3a1.2.9-1ubuntu6.3_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Setting up libpq5 (8.4.7-0ubuntu0.10.04) ...

Setting up dovecot-common (1:1.2.9-1ubuntu6.3) ...

Creating config file /etc/dovecot/dovecot.conf with new version

Creating config file /etc/dovecot/dovecot-ldap.conf with new version

Creating config file /etc/dovecot/dovecot-sql.conf with new version
adduser: Warning: The home directory `/usr/lib/dovecot' does not belong to the user you are currently creating.
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
update-rc.d: warning: dovecot stop runlevel arguments (1) do not match LSB Default-Stop values (0 1 6)
* Starting IMAP/POP3 mail server dovecot [ OK ]

Setting up dovecot-imapd (1:1.2.9-1ubuntu6.3) ...
* Restarting IMAP/POP3 mail server dovecot
If 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.
[ OK ]

Setting up dovecot-pop3d (1:1.2.9-1ubuntu6.3) ...
* Restarting IMAP/POP3 mail server dovecot
If 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.
[ OK ]

Setting up postfix (2.7.0-1ubuntu0.1) ...
Adding group `postfix' (GID 114) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 115) ...
Done.
setting myhostname: mail.bravotouring.com
setting alias maps
setting alias database
changing /etc/mailname to mail.bravotouring.com
setting myorigin
setting destinations: mail.bravotouring.com, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.

Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]

Setting up dovecot-postfix (1:1.2.9-1ubuntu6.3) ...
Configuring postfix for dovecot-postfix integration: .................... done.
* Restarting IMAP/POP3 mail server dovecot
If 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.
[ OK ]
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place