Set sendmail permissions when creating a new jail

Ticket: #3762