INSTALL DOVECOT

FROM SCRATCH

grab the latest release

ver=2.3.10.1
wget https://dovecot.org/releases/2.3/dovecot-$ver.tar.gz
wget https://dovecot.org/releases/2.3/dovecot-$ver.tar.gz.sig
gpg --verify dovecot-$ver.tar.gz.sig
gpg --recv-key ED409DA1
gpg --verify dovecot-$ver.tar.gz.sig

you should have a good signature with this fingerprint

Primary key fingerprint: 2BE7 4AAB 3EE7 54DF B9C8  0D33 18A3 48AE ED40 9DA1

extract and build

tar xzf dovecot-$ver.tar.gz
cd dovecot-$ver/
./configure
time nice make -j8 > ../dovecot.log && echo BUILT
make install
echo /usr/local/lib >> /etc/ld.so.conf
ldconfig

prepare the system

grep dove /etc/passwd
grep dove /etc/group

you would get this on slackware

dovecot:x:94:94:User for Dovecot processes:/dev/null:/bin/false
dovenull:x:95:95:User for Dovecot login processing:/dev/null:/bin/false

otherwise DIY on netbsd

#grep 42 /etc/group
#grep 42 /etc/passwd
#groupadd -g 42 dovecot
#useradd -d /dev/null -u 42 -g dovecot -s /sbin/nologin dovecot
#-c "Dovecot unprivileged user"

#grep 43 /etc/group
#grep 43 /etc/passwd
#groupadd -g 43 dovenull
#useradd -d /dev/null -u 43 -g dovenull -s /sbin/nologin dovenull
#-c "Dovecot login user"

HOME | GUIDES | BENCHMARKS | html