UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

dovecot

Dovecot is an Internet Message Access Protocol (IMAP) and Post Office Protocol (POP) server, written primarily with security in mind. Dovecot aims to be lightweight, fast and easy to set up as well as highly configurable and easily extensible with plugins.

Package info

Codename: dovecot
Source file: dovecot-2.3.21.1.tar.gz
Source directory: dovecot-2.3.21.1
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/d/dovecot-2.3.21.1.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/d/dovecot-2.3.21.1.tar.gz.md5sum
Dependances: icu, libtirpc, sqlite, Linux-PAM, OpenLDAP-client, libcap-ng, mariadb-client, postgresql-server.
Dependance of: *** NO PACKAGES FOUND ***
Patches: dovecot-2.3.21-openssl3_fixes-1.patch, dovecot-2.3.21-security_fix-1.patch.
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
groupadd -g 42 dovecot &&
useradd -c "Dovecot unprivileged user" -d /dev/null -u 42 \
        -g dovecot -s /bin/false dovecot &&
groupadd -g 43 dovenull &&
useradd -c "Dovecot login user" -d /dev/null -u 43 \
        -g dovenull -s /bin/false dovenull


CPPFLAGS="-I/usr/include/tirpc" \
LDFLAGS+=" -ltirpc" \
./configure --prefix=/usr                          \
            --sysconfdir=/etc                      \
            --localstatedir=/var                   \
            --docdir=/usr/share/doc/dovecot-2.3.21.1 \
            --disable-static   


Build script:
make

Install script:
make install

cp -rv /usr/share/doc/dovecot-2.3.21.1/example-config/* /etc/dovecot

sed -i '/^\!include / s/^/#/' /etc/dovecot/dovecot.conf &&
chmod -v 1777 /var/mail &&
cat > /etc/dovecot/local.conf << "EOF"
protocols = imap
ssl = no
# The next line is only needed if you have no IPv6 network interfaces
listen = *
mail_location = mbox:~/Mail:INBOX=/var/mail/%u
userdb {
  driver = passwd
}
passdb {
  driver = shadow
}
EOF