Guest User

Untitled

a guest
Nov 1st, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. if
  2. allof(
  3. address :is "From" "notifications@github.com",
  4. address :is "Cc" "mention@noreply.github.com"
  5. )
  6. {
  7. fileinto "INBOX.notifications.github.direct-mention";
  8. }
  9. elsif
  10. allof(
  11. address :is "From" "notifications@github.com",
  12. address :is "Cc" "team_mention@noreply.github.com"
  13. )
  14. {
  15. fileinto "INBOX.notifications.github.team-mentions";
  16. }
  17. elsif address :is "Cc" "your_activity@noreply.github.com" {
  18. addflag "\\Seen";
  19. fileinto "INBOX.notifications.github.my-activity";
  20. removeflag "\\Seen";
  21. }
  22. elsif
  23. anyof(
  24. address :is "Cc" "assign@noreply.github.com",
  25. address :is "Cc" "review_requested@noreply.github.com"
  26. )
  27. {
  28. fileinto "INBOX.notifications.github.assignments";
  29. }
  30. elsif
  31. anyof(
  32. address :is "Cc" "comment@noreply.github.com",
  33. address :is "Cc" "milestone@noreply.github.com",
  34. address :is "Cc" "push@noreply.github.com",
  35. address :is "Cc" "state_change@noreply.github.com"
  36. )
  37. {
  38. fileinto "INBOX.notifications.github.other";
  39. }
Add Comment
Please, Sign In to add comment