change domain var

This commit is contained in:
François 2024-04-07 15:27:43 +02:00
parent b046089d96
commit 928153cd3d
2 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ DEFAULT_PERIOD="month"
DEFAULT_TRACK=""
cd $(dirname $0)
DOMAINNAME=$(cat domainname)
DOMAINEDEPOT=$(cat domainedepot)
# Exit codes from <sysexits.h>
EX_TEMPFAIL=75
EX_UNAVAILABLE=69
@ -62,7 +62,7 @@ MAILS=/tmp/FILTER
MAX_KEEP_IN_MAIL=5ki
MAX_UPLOAD_SIZE=1Gi
SHRINK_CMD=/home/filter/eMailShrinker
JIRAFEAU_URL=https://depot.${DOMAINNAME:-"kaz.bzh"}
JIRAFEAU_URL=https://depot.${DOMAINEDEPOT:-"kaz.bzh"}
JIRAFEAU_LOCAL=http://depot
MD5_CMD=/usr/bin/md5sum
DISCLAMER_CMD=altermime

View File

@ -87,8 +87,8 @@ eMailShrinker="$(realpath "./eMailShrinker")"
########################################
dos2unix "${mbox}"
[ -z "${SIMULATE}" ] && DOMAINNAME="$(cat domainname)"
JIRAFEAU_URL="https://depot.${DOMAINNAME}"
[ -z "${SIMULATE}" ] && DOMAINEDEPOT="$(cat domainedepot)"
JIRAFEAU_URL="https://depot.${DOMAINEDEPOT}"
JIRAFEAU_LOCAL="${JIRAFEAU_URL}"
TMP_DIR="$(mktemp)"