From cb085924c939e57d48a7ca9b5d73f93312666a99 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Fri, 31 Jan 2025 11:13:26 -0500 Subject: [PATCH] removed reference to CLOUD_BASE in variables need to figure out a nicer way of using CLOUD_BASE in scripts like move spams, so there can be a generalized thing that anyone could use, instead of it depending on my specific cloud structure. --- scripts/core/variables.sh | 5 ----- scripts/email/move_spams_and_check.sh | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index 91833292..8a7a5fae 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -334,11 +334,6 @@ define_yeti_variable DEFAULT_FEISTYMEOW_ORG_DIR=/opt/feistymeow.org ############## - # logged historical file where we append our latest report. -# define_yeti_variable FRED_HAMSTER_OVERLOAD_REPORT_FILE="$CLOUD_BASE/stats/overload_history.txt" - - ############## - # set the SHUNIT_PATH so our shunit tests can find the codebase. define_yeti_variable SHUNIT_PATH="$FEISTY_MEOW_SCRIPTS/testkit/shunit" diff --git a/scripts/email/move_spams_and_check.sh b/scripts/email/move_spams_and_check.sh index 0c66a77b..437d04d9 100644 --- a/scripts/email/move_spams_and_check.sh +++ b/scripts/email/move_spams_and_check.sh @@ -12,9 +12,12 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" SPAM_SPOOL="/var/spool/sa-exim" # a temporary directory where we'll move all the spam for analysis. SPAM_HOLD="$HOME/spamcrud" + # the white list needs to be a file of good email addresses that will # probably never send spam. it should be formatted one address to a line. EMAIL_WHITE_LIST="$CLOUD_BASE/magic_cabinet/lists/email_addresses.txt" +#hmmm: very personal and specific location for that file!!! + # we'll save a report of the spam checks in the file below. REPORT_FILE="$HOME/spam_check_report_$(date_stringer).txt" -- 2.34.1