diff options
Diffstat (limited to 'bin/mail/deliver.sh')
-rwxr-xr-x | bin/mail/deliver.sh | 3 |
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 | ||
6 | epoch=$(date +%s) | 7 | epoch=$(date +%s) |
7 | mail_date="$(date --rfc-email -d @${epoch})" | 8 | mail_date="$(date --rfc-email -d @${epoch})" |
@@ -146,7 +147,7 @@ elif [[ | |||
146 | elif [[ | 147 | elif [[ |
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 |
152 | fi | 153 | fi |