How can I hide spam emails in my inbox of OSX Apple Mail app?
I don't know whether the OXS settings will propagate somehow to iPhone. Anyway I could find the following settings in OSX.

Preferences > Accounts > Mailbox Behaviors



Preferences > Junk Mail