I want to set rules for emails.
1- if mail is from "firstname.lastname@example.org", mail should move in important folder rather than inbox.
2- if mail header contain "spam" keyword, mail should be moved in spam folder rather than inbox.
How can I apply this rules? If I can apply, can I also apply on Exchange server accounts?