dovecotをubuntuにソースからインストール

Pocket

Dovecotのインストール

$ wget http://www.dovecot.org/releases/2.2/dovecot-2.2.21.tar.gz
もしくは
git clone https://github.com/dovecot/core.git dovecot

apt-get install autoreconf

./autogen.sh
apt-get install automake
apt-get install libtool
apt-get install pkg-config
apt-get install gettext
./autogen.sh
apt-get install git
apt-get install make

apt-get install libssl-dev
./configure –with-ssl=openssl

$ make
$ su
root# make install

sh mkcert.sh
cd rc5.d
ln -s ../init.d/dovecot S93dovecot

cp -r /usr/local/share/doc/dovecot/example-config/* /etc/dovecot
cp -r /usr/local/share/doc/dovecot/example-config/* /usr/local/etc/dovecot/
root# cd /usr/local/etc
root# cp dovecot-example.conf dovecot.conf

root# /usr/local/sbin/dovecot

netstat -a | grep -w LISTEN

/usr/local/etc/dovecot.conf
protocols = imap pop3

# A comma separated list of IPs or hosts where to listen in for connections.
# “*” listens in all IPv4 interfaces, “::” listens in all IPv6 interfaces.
# If you want to specify non-default ports or anything more complex,
# edit conf.d/master.conf.
#listen = *, ::
listen = *, ::

10-auth.conf
disable_plaintext_auth = no

シェアする

  • このエントリーをはてなブックマークに追加

フォローする