service sendmail restart
</div>
{{code|{{:Enable_Outgoing_Emails/somecode2}}}}
If you want to use another port than 587, change that number in the above command (it's there twice), before executing it. If you already executed it, edit the sendmail.mc file, and search for 587 - it should appear there twice - change both.
service sendmail restart
</div>
{{code|{{:Enable_Outgoing_Emails/somecode3}}}}