Hi,
We could use the Block or Allow settings to help control unwanted and unsolicited email messages by creating and managing lists of email addresses and domains that you trust and those that you dont.
To manage junk email settings, click Settings > Options > Block or allow.
Please refer to the following link to get more details:
http://office.microsoft.com/en-in/web-apps-help/block-or-allow-junk-email-settings-HA102908351.aspx
Best Regards
For the Office 365 server-site solution, please post your answer to Office 365 forum.
http://community.office365.com/en-us/forums/default.aspx
For the Office 365 client site, you may refer the suggestion that provided by MR. Steve.
Thanks.
Tony Chen
TechNet Community Support