UmVirt LFS Package info

DB commit: 57bed5a54ba91b88b24a1c8eb97bd083dbf72f0d
APP commit: 634ff2193dea70dde75eb1916d758638b7417453

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.20.tar.gz
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