How to Change My Sendmail Send Port
- 1). Download your Sendmail configuration file using your FTP client software. Dreamweaver, Internet Explorer or FileZilla will work fine. The file is located within your Sendmail files at "/etc/mail/sendmail.cf"
- 2). Open the sendmail.cf file in your code editing software. Notepad will work for this.
- 3). Locate the following line in the file: DaemonPortOptions=Port=25. Change the number 25 to your new setting, save and close the file. Upload the file to the server.
- 4). Restart Sendmail to make the change effective.
Source...