To change the outgoing mail port to 26 on Mac Mail.app:
- Open Mail.
- Click the Mail menu >> then click Preferences.
- Click the Accounts icon.
- Click the Account Information tab.
- Expand the Outgoing Mail Server (SMTP)
- Choose Edit SMTP Server List
- Change to Advanced
- In the Use Custom Port box, type the port number (26).
- Click the OK button.
- Restart Mail.