aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/mail
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mail')
-rwxr-xr-xbin/mail/deliver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mail/deliver.sh b/bin/mail/deliver.sh
index 1f8166a..3c5da14 100755
--- a/bin/mail/deliver.sh
+++ b/bin/mail/deliver.sh
@@ -107,7 +107,7 @@ done <<<"$header"
107# decide mailbox by vars {{{ 107# decide mailbox by vars {{{
108if [[ "$SENDER" = pham@topo.tw && -n $CHAT_VERSION ]]; then 108if [[ "$SENDER" = pham@topo.tw && -n $CHAT_VERSION ]]; then
109 private_message 109 private_message
110elif [[ "${FROM}" =~ MAILER-DAEMON ]]; then 110elif [[ "${FROM}" =~ MAILER-DAEMON|accounts ]]; then
111 mailbox= 111 mailbox=
112elif [[ "${TO}" =~ '+'|'=' ]]; then 112elif [[ "${TO}" =~ '+'|'=' ]]; then
113 mailbox=${TO#*[+=]} # remove chars before symbol of mailbox 113 mailbox=${TO#*[+=]} # remove chars before symbol of mailbox