diff options
Diffstat (limited to 'bin/mail')
-rwxr-xr-x | bin/mail/deliver.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/mail/deliver.sh b/bin/mail/deliver.sh index c111692..6b02aa3 100755 --- a/bin/mail/deliver.sh +++ b/bin/mail/deliver.sh | |||
@@ -109,6 +109,8 @@ if [[ "$SENDER" = pham@topo.tw && -n $CHAT_VERSION ]]; then | |||
109 | private_message | 109 | private_message |
110 | elif [[ "${FROM}" =~ MAILER-DAEMON|accounts ]]; then | 110 | elif [[ "${FROM}" =~ MAILER-DAEMON|accounts ]]; then |
111 | mailbox= | 111 | mailbox= |
112 | elif [[ "${FROM}" =~ taiwandreamer|imtaiwanese18741130|recall ]]; then | ||
113 | mailbox=recall | ||
112 | elif [[ "${TO}" =~ '+'|'=' ]]; then | 114 | elif [[ "${TO}" =~ '+'|'=' ]]; then |
113 | mailbox=${TO#*[+=]} # remove chars before symbol of mailbox | 115 | mailbox=${TO#*[+=]} # remove chars before symbol of mailbox |
114 | mailbox=${mailbox%@*} # remove suffix for mail address | 116 | mailbox=${mailbox%@*} # remove suffix for mail address |