share config

This commit is contained in:
François 2024-04-07 17:50:16 +02:00
parent 0f38d26b7b
commit e0f1e8f2f7

View File

@ -48,7 +48,7 @@ DEFAULT_PERIOD="month"
DEFAULT_TRACK="" DEFAULT_TRACK=""
cd $(dirname $0) cd $(dirname $0)
DOMAINEDEPOT=$(cat domainedepot) DOMAINEDEPOT=$(cat config/domainedepot)
# Exit codes from <sysexits.h> # Exit codes from <sysexits.h>
EX_TEMPFAIL=75 EX_TEMPFAIL=75
EX_UNAVAILABLE=69 EX_UNAVAILABLE=69
@ -70,7 +70,7 @@ MAX_FINAL_SIZE=2097152 # 2Mi
ARCHIVE_TITLE="archive_content" ARCHIVE_TITLE="archive_content"
ARCHIVE_MIME="text/kaz_email_archive" ARCHIVE_MIME="text/kaz_email_archive"
FILE_SKIP_DOMAINS="/tmp/docker-mailserver/file_domaines_non_depollues.txt" FILE_SKIP_DOMAINS="config/file_domaines_non_depollues.txt"
#on enlève les commentaires et les lignes vides #on enlève les commentaires et les lignes vides
SKIP_DOMAINS=$(grep -Ev '^#|^[[:space:]]*$' $FILE_SKIP_DOMAINS 2>/dev/null) SKIP_DOMAINS=$(grep -Ev '^#|^[[:space:]]*$' $FILE_SKIP_DOMAINS 2>/dev/null)