Skip to content

Instantly share code, notes, and snippets.

@diyism
Last active May 30, 2018 10:55
Show Gist options
  • Save diyism/8016348 to your computer and use it in GitHub Desktop.
Save diyism/8016348 to your computer and use it in GitHub Desktop.
gmail 过滤规则
Matches: is:spam
Do this: Skip Inbox, Delete it
Matches: from:(@txt.voice.google.com) -{recovery code}
Do this: Forward to [email protected]
Matches: from:([email protected]) subject:("Twitter / diyism")
Do this: Skip Inbox, Mark as read
Matches: DeliveredTo:(trash[.-+] @diyism.com)
Do this: Skip Inbox, Delete it
Matches: ("Direct message sent by" OR ("domain of transitioning" "does not designate") OR ("原因是:host unknown"))
Do this: Skip Inbox, Delete it
Matches: "高级研修班"
Do this: Skip Inbox, Delete it
Matches: subject:(((工信部 OR 发改委) 通知) OR (AD 戴尔) OR 内部推荐)
Do this: Skip Inbox, Delete it
Matches: (.txt OR .doc OR .docx OR .vsd OR .mpp) has:attachment
Do this: Apply label "GoogleDrive"
Matches: to:((trash[.-+] @diyism.com)|(-com -org -net -edu -cn))
Do this: Skip Inbox, Delete it
Matches: from:([email protected]|@whereareyounow.net|[email protected]|[email protected]|@plus.google.com|@kaixin001.com.cn|@bouncemailcn.shfft.com|@lietoumail.com)
Do this: Skip Inbox, Delete it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment