diff options
Diffstat (limited to 'bin/mail/deliver.sh')
-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 |