remailback

send email reminders after a time period
git clone https://a3nm.net/git/remailback/
Log | Files | Refs

commit bd92d51dc3a2ccad2347b8e272cde38aa987ceae
parent edd57af862bebb737e9e1d703bb642ebec7207d2
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 10 May 2020 17:36:53 +0200

fix bug: file names had only one character

Diffstat:
add.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/add.sh b/add.sh @@ -29,7 +29,7 @@ MESSAGEID=$(~/bin/get_email_header message-id < "$TEMPFILE") # from Debian package uuid-runtime UUID=$(uuidgen) -FILENAME=$(echo "${MESSAGEID}_${SUBJECT}_${TDATE}_${REASON}_${UUID}" | tr -dc 'a-zA-Z@._0-9-' | rev | cut -b1,255 | rev) +FILENAME=$(echo "${MESSAGEID}_${SUBJECT}_${TDATE}_${REASON}_${UUID}" | tr -dc 'a-zA-Z@._0-9-' | rev | cut -b1-255 | rev) mkdir -p scheduled