UmVirt LFS Package info

📦Package info

🔙Parent Directory  -

DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit:
[ 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.2.1.tar.gz
Source directory: dovecot-2.3.2.1
Package URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/d/dovecot-2.3.2.1.tar.gz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/d/dovecot-2.3.2.1.tar.gz.md5sum
Dependances: icu, sqlite, Linux-PAM, lua, openldap-client, postgresql-client, mariadb-client, libcap-pam, libtirpc.
Dependance of: exim.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -e "s;#include <unistd.h>;&\n#include <crypt.h>;" \
    -i src/auth/mycrypt.c

CFLAGS+=" -I/usr/include/tirpc" \
LDFLAGS+=" -ltirpc" \
./configure --prefix=/usr                          \
            --sysconfdir=/etc                      \
            --localstatedir=/var                   \
            --docdir=/usr/share/doc/dovecot-2.3.2.1 \
            --with-systemdsystemunitdir=/lib/systemd/system \
            --with-ssl \
            --disable-static \
            --with-ldap \
            --with-pgsql \
            --with-mysql \
            --with-sqlite 

Build script:
make

Install script:
#add user
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

#install files
make install

#install configuration
cp -rv /usr/share/doc/dovecot-2.3.2.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



Apache/2.4.62 (Debian) Server at ulfs.org Port 443