UmVirt LFS Package info
DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
postfix
The Postfix package contains a Mail Transport Agent (MTA).Package info
Template:
Codename: postfix
Source file: postfix-3.10.4.tar.gz
Source directory: postfix-3.10.4
Package URL: postfix-3.10.4.tar.gz
Package md5-checksum URL: postfix-3.10.4.tar.gz.md5sum
Dependances: icu, pcre, !sqlite, berkeleydb, cyrus-sasl, OpenLDAP-client, mariadb-client, postgresql-client.
Dependance of: *** NO PACKAGES FOUND ***
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
System preparation script:
groupadd -g 32 postfix &&
groupadd -g 33 postdrop &&
useradd -c "Postfix Daemon User" -d /var/spool/postfix -g postfix \
-s /bin/false -u 32 postfix &&
chown -v postfix:postfix /var/mail
Configuration script:
sed -i 's/.\x08//g' README_FILES/*
Build script:
CCARGS="-DNO_NIS -DNO_DB"
AUXLIBS=""
if [ -r /usr/lib/libsasl2.so ]; then
CCARGS="$CCARGS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
AUXLIBS="$AUXLIBS -lsasl2"
fi
if [ -r /usr/lib/liblmdb.so ]; then
CCARGS="$CCARGS -DHAS_LMDB"
AUXLIBS="$AUXLIBS -llmdb"
fi
if [ -r /usr/lib/libldap.so -a -r /usr/lib/liblber.so ]; then
CCARGS="$CCARGS -DHAS_LDAP"
AUXLIBS="$AUXLIBS -lldap -llber"
fi
if [ -r /usr/lib/libsqlite3.so ]; then
CCARGS="$CCARGS -DHAS_SQLITE"
AUXLIBS="$AUXLIBS -lsqlite3 -lpthread"
fi
if [ -r /usr/lib/libmysqlclient.so ]; then
CCARGS="$CCARGS -DHAS_MYSQL -I/usr/include/mysql"
AUXLIBS="$AUXLIBS -lmysqlclient -lz -lm"
fi
if [ -r /usr/lib/libpq.so ]; then
CCARGS="$CCARGS -DHAS_PGSQL -I/usr/include/postgresql"
AUXLIBS="$AUXLIBS -lpq -lz -lm"
fi
if [ -r /usr/lib/libssl.so -a -r /usr/lib/libcrypto.so ]; then
CCARGS="$CCARGS -DUSE_TLS -I/usr/include/openssl/"
AUXLIBS="$AUXLIBS -lssl -lcrypto"
fi
echo "CCARGS: $CCARGS"
echo "AUXLIBS: AUXLIBS"
make CC="gcc -std=gnu17" CCARGS="$CCARGS" AUXLIBS="$AUXLIBS" makefiles &&
make
Install script:
sh postfix-install -non-interactive \
daemon_directory=/usr/lib/postfix \
manpage_directory=/usr/share/man \
html_directory=/usr/share/doc/postfix-3.10.4/html \
readme_directory=/usr/share/doc/postfix-3.10.4/readme