UmVirt LFS Package info

DB commit: eeb5b556770c9a541df710c0fd927901d6de9d66
APP commit: e09dc78145b10de9481608254eb2ac99efd0068b
[ 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

Template:
Codename: dovecot
Source file: dovecot-2.3.20.tar.gz
Source file size: 7805735
Source file MD5-checkum: b8add62d0311dcc95ac25b379e8ba043
Source directory: dovecot-2.3.20
Package URL: https://umvirt.com/linux/downloads/0.2/packages/d/dovecot-2.3.20.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2/packages/d/dovecot-2.3.20.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.20-openssl3_fixes-1.patch, dovecot-2.3.20-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.20 \
            --disable-static

Build script:
make

Install script:
make install

cp -rv /usr/share/doc/dovecot-2.3.20/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