aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-02-14 15:54:23 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-02-14 15:54:23 +0800
commit537ba2a9af3d8701db48d3d6581231a2c7336633 (patch)
tree3b5283c2b76287c0bab736f45f03d1a0afba6a56 /bin
parentd60983caa2417280bc369917b7b313bfa9fa81a6 (diff)
Update
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mail/deliver.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/mail/deliver.sh b/bin/mail/deliver.sh
index 03c8ae5..31a4017 100755
--- a/bin/mail/deliver.sh
+++ b/bin/mail/deliver.sh
@@ -115,7 +115,7 @@ elif [[ "${FROM}${RETURN_PATH}" =~ notifications@github.com|noreply@github.com ]
115 mailbox=DEV/github 115 mailbox=DEV/github
116elif [[ "${FROM}" =~ jgbsmart.com ]]; then 116elif [[ "${FROM}" =~ jgbsmart.com ]]; then
117 mailbox=rent 117 mailbox=rent
118elif [[ "${SUBJECT}" =~ 帳單|轉帳|對帳|付款|發票|消費|繳費|收據|費用|Invoice|Billing ]]; then 118elif [[ "${SUBJECT}" =~ 帳單|轉帳|對帳|付款|發票|消費|繳費|收據|費用|簽帳|Invoice|Billing ]]; then
119 mailbox=pay 119 mailbox=pay
120elif [[ "${TO}" =~ dmarc@topo.tw ]]; then 120elif [[ "${TO}" =~ dmarc@topo.tw ]]; then
121 mailbox=DEV/dmarc 121 mailbox=DEV/dmarc
@@ -145,7 +145,8 @@ elif [[
145 mailbox=update 145 mailbox=update
146elif [[ 146elif [[
147 "${SUBJECT}${FROM}" =~ 優惠|快訊|願望清單|期待|活動|eDM || 147 "${SUBJECT}${FROM}" =~ 優惠|快訊|願望清單|期待|活動|eDM ||
148 -n "${LIST_ID}${LIST_UNSUBSCRIBE}" || 148 -n "${LIST_ID}${LIST_UNSUBSCRIBE}${FEEDBACK_ID}" ||
149 ${FROM} =~ cora.computer ||
149 ${TO} =~ tienling.chou@topo.tw \ 150 ${TO} =~ tienling.chou@topo.tw \
150 ]]; then 151 ]]; then
151 mailbox=promote 152 mailbox=promote