From 537ba2a9af3d8701db48d3d6581231a2c7336633 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 14 Feb 2025 15:54:23 +0800 Subject: Update --- bin/mail/deliver.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/mail') 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 ] mailbox=DEV/github elif [[ "${FROM}" =~ jgbsmart.com ]]; then mailbox=rent -elif [[ "${SUBJECT}" =~ 帳單|轉帳|對帳|付款|發票|消費|繳費|收據|費用|Invoice|Billing ]]; then +elif [[ "${SUBJECT}" =~ 帳單|轉帳|對帳|付款|發票|消費|繳費|收據|費用|簽帳|Invoice|Billing ]]; then mailbox=pay elif [[ "${TO}" =~ dmarc@topo.tw ]]; then mailbox=DEV/dmarc @@ -145,7 +145,8 @@ elif [[ mailbox=update elif [[ "${SUBJECT}${FROM}" =~ 優惠|快訊|願望清單|期待|活動|eDM || - -n "${LIST_ID}${LIST_UNSUBSCRIBE}" || + -n "${LIST_ID}${LIST_UNSUBSCRIBE}${FEEDBACK_ID}" || + ${FROM} =~ cora.computer || ${TO} =~ tienling.chou@topo.tw \ ]]; then mailbox=promote -- cgit v1.2.3-70-g09d2