diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2025-02-14 15:54:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2025-02-14 15:54:23 +0800 |
commit | 537ba2a9af3d8701db48d3d6581231a2c7336633 (patch) | |
tree | 3b5283c2b76287c0bab736f45f03d1a0afba6a56 /bin | |
parent | d60983caa2417280bc369917b7b313bfa9fa81a6 (diff) |
Update
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mail/deliver.sh | 5 |
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 |
116 | elif [[ "${FROM}" =~ jgbsmart.com ]]; then | 116 | elif [[ "${FROM}" =~ jgbsmart.com ]]; then |
117 | mailbox=rent | 117 | mailbox=rent |
118 | elif [[ "${SUBJECT}" =~ 帳單|轉帳|對帳|付款|發票|消費|繳費|收據|費用|Invoice|Billing ]]; then | 118 | elif [[ "${SUBJECT}" =~ 帳單|轉帳|對帳|付款|發票|消費|繳費|收據|費用|簽帳|Invoice|Billing ]]; then |
119 | mailbox=pay | 119 | mailbox=pay |
120 | elif [[ "${TO}" =~ dmarc@topo.tw ]]; then | 120 | elif [[ "${TO}" =~ dmarc@topo.tw ]]; then |
121 | mailbox=DEV/dmarc | 121 | mailbox=DEV/dmarc |
@@ -145,7 +145,8 @@ elif [[ | |||
145 | mailbox=update | 145 | mailbox=update |
146 | elif [[ | 146 | elif [[ |
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 |