change domain var
This commit is contained in:
parent
b046089d96
commit
928153cd3d
@ -48,7 +48,7 @@ DEFAULT_PERIOD="month"
|
|||||||
DEFAULT_TRACK=""
|
DEFAULT_TRACK=""
|
||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
DOMAINNAME=$(cat domainname)
|
DOMAINEDEPOT=$(cat domainedepot)
|
||||||
# Exit codes from <sysexits.h>
|
# Exit codes from <sysexits.h>
|
||||||
EX_TEMPFAIL=75
|
EX_TEMPFAIL=75
|
||||||
EX_UNAVAILABLE=69
|
EX_UNAVAILABLE=69
|
||||||
@ -62,7 +62,7 @@ MAILS=/tmp/FILTER
|
|||||||
MAX_KEEP_IN_MAIL=5ki
|
MAX_KEEP_IN_MAIL=5ki
|
||||||
MAX_UPLOAD_SIZE=1Gi
|
MAX_UPLOAD_SIZE=1Gi
|
||||||
SHRINK_CMD=/home/filter/eMailShrinker
|
SHRINK_CMD=/home/filter/eMailShrinker
|
||||||
JIRAFEAU_URL=https://depot.${DOMAINNAME:-"kaz.bzh"}
|
JIRAFEAU_URL=https://depot.${DOMAINEDEPOT:-"kaz.bzh"}
|
||||||
JIRAFEAU_LOCAL=http://depot
|
JIRAFEAU_LOCAL=http://depot
|
||||||
MD5_CMD=/usr/bin/md5sum
|
MD5_CMD=/usr/bin/md5sum
|
||||||
DISCLAMER_CMD=altermime
|
DISCLAMER_CMD=altermime
|
||||||
|
@ -87,8 +87,8 @@ eMailShrinker="$(realpath "./eMailShrinker")"
|
|||||||
|
|
||||||
########################################
|
########################################
|
||||||
dos2unix "${mbox}"
|
dos2unix "${mbox}"
|
||||||
[ -z "${SIMULATE}" ] && DOMAINNAME="$(cat domainname)"
|
[ -z "${SIMULATE}" ] && DOMAINEDEPOT="$(cat domainedepot)"
|
||||||
JIRAFEAU_URL="https://depot.${DOMAINNAME}"
|
JIRAFEAU_URL="https://depot.${DOMAINEDEPOT}"
|
||||||
JIRAFEAU_LOCAL="${JIRAFEAU_URL}"
|
JIRAFEAU_LOCAL="${JIRAFEAU_URL}"
|
||||||
|
|
||||||
TMP_DIR="$(mktemp)"
|
TMP_DIR="$(mktemp)"
|
||||||
|
Loading…
Reference in New Issue
Block a user