Changing the outgoing smtp port number, Enabling an alternate mail transfer agent, Starting sendmail – Apple Mac OS X Server (version 10.2.3 or later) User Manual
Page 414

414
Chapter 9
Changing the Outgoing SMTP Port Number
You can change the port number that your SMTP service uses when attempting to send
outgoing mail to other servers. The standard port for outgoing SMTP connections is 25. You
can change this port number, but do so carefully. If you use a nonstandard outgoing SMTP
port, your server will be unable to deliver outgoing mail to other servers unless they use this
nonstandard port for their incoming SMTP mail. Make sure you don’t change to a port
number already in use by another service or operation.
To change the outgoing SMTP port number:
1
In Server Settings, click the Internet tab.
2
Click Mail Service and choose Configure Host Settings.
3
Click the Network Settings tab.
4
Change the SMTP port number and click Save.
Enabling an Alternate Mail Transfer Agent
You can use an alternate mail transfer agent, such as the UNIX Sendmail program, to handle
incoming and outgoing SMTP mail. Any mail sent to local email users is processed by the mail
transfer agent and transferred to the Mac OS X Server mail service for delivery. POP and
IMAP continue to function as usual, but SMTP mail is now subject to the rules and settings of
the alternate mail transfer agent.
To use another mail transfer agent:
1
In Server Settings, click the Internet tab.
2
Click Mail Service and choose Configure Mail Service.
3
Click the Protocols tab and choose Other Mail Transfer Agent from the pop-up menu.
4
Click Save.
5
Start the other mail transfer agent program.
Starting Sendmail
If you configure mail service to use an alternate mail transfer agent such as the UNIX
program Sendmail, you need to start the mail transfer agent program. It then becomes the
primary SMTP mail transfer agent on your server.
The UNIX Sendmail program is included with Mac OS X. To start Sendmail as root, type this
command in the Terminal application:
/usr/sbin/sendmail -bd
LL0395.Book Page 414 Wednesday, November 20, 2002 11:44 AM