Managing Shared Mailbox Sent Items Behaviour in Exchange Server 2013 and Office 365

How to manage shared mailbox sent items behaviour in Exchange Server 2013 and Office 365.