Go to for your project, then Mattermost Settings.
Click the cog icon for a Project Channel .
Click on for the policy.
Modify the policy and Save.