aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/mail
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mail')
-rwxr-xr-xbin/mail/deliver.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/mail/deliver.sh b/bin/mail/deliver.sh
index f33cb1c..1f8166a 100755
--- a/bin/mail/deliver.sh
+++ b/bin/mail/deliver.sh
@@ -2,6 +2,7 @@
2 2
3# Deliver incoming mail to proper mailbox 3# Deliver incoming mail to proper mailbox
4# TODO image/audio mail part 4# TODO image/audio mail part
5# TODO CJK Subject in index/pager mode: tofo or backslash
5 6
6epoch=$(date +%s) 7epoch=$(date +%s)
7mail_date="$(date --rfc-email -d @${epoch})" 8mail_date="$(date --rfc-email -d @${epoch})"
@@ -146,7 +147,7 @@ elif [[
146elif [[ 147elif [[
147 "${SUBJECT}${FROM}" =~ 優惠|快訊|願望清單|期待|活動|eDM || 148 "${SUBJECT}${FROM}" =~ 優惠|快訊|願望清單|期待|活動|eDM ||
148 ${FROM} =~ cora.computer || 149 ${FROM} =~ cora.computer ||
149 -n "${LIST_ID}${LIST_UNSUBSCRIBE}${FEEDBACK_ID}${THREAD_INDEX}${X_MAILGUN_TAG}" \ 150 -n "${LIST_ID}${LIST_UNSUBSCRIBE}${FEEDBACK_ID}${THREAD_INDEX}${X_MAILGUN_TAG}${X_SFMC_STACK}" \
150 ]]; then 151 ]]; then
151 mailbox=promote 152 mailbox=promote
152fi 153fi