From 89b7b67a13ebb7965cc7f13ad0595e2194a2d34c Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:48:04 +0200 Subject: add sqmail-4.2.29a --- service/ssl.env | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 service/ssl.env (limited to 'service/ssl.env') diff --git a/service/ssl.env b/service/ssl.env new file mode 100644 index 0000000..bfa5875 --- /dev/null +++ b/service/ssl.env @@ -0,0 +1,19 @@ +# Environment +SSL_USER=SQMTLS +SSL_GROUP=NOFILES +SSL_DIR="QMAIL/ssl" +SSL_CHROOT="$SSL_DIR" +# Checks +SSL_UID=`id -u $SSL_USER` +[ $? -ne 0 ] && ( echo "No such user '$SSL_USER'" ; exit ) +SSL_GID=`id -g $SSL_USER` +[ $? -ne 0 ] && ( echo "No such group '$SSL_GROUP'" ; exit ) +# Files +CERTCHAINFILE="$SSL_DIR/chain6.pem" +CERTFILE="$SSL_DIR/localhost.pem" +KEYFILE="$SSL_DIR/localhost.key" +DHFILE="$SSL_DIR/dh1024.pem" +# Exported +export SSL_UID SSL_GID SSL_CHROOT +export CERTFILE KEYFILE DHFILE +#export CERTCHAINFILE -- cgit v1.2.3