
32 Chapter 1 Mail Service Setup
Filtering SMTP Connections
You can use the firewall service of Mac OS X Server to allow or deny access to your
SMTP mail service from specific IP addresses. Filtering disallows all communication
between an originating host and your mail server. Mail service will never receive the
incoming connection and no SMTP error will be generated and sent back to the client.
To filter SMTP connections:
1 In Server Admin, select Firewall in the Computers & Services pane.
2 Create a firewall IP filter using the instructions in the network services administration
guide using the following settings:
• Access: Denied
• Port number: 25 (or your incoming SMTP port, if you use a non-standard port)
• Protocol: TCP
• Source: the IP address or address range you want to block
• Destination: your mail server’s IP address
3 If desired, log the packets to monitor the SMTP abuse.
4 Add more new filters for the SMTP port to allow or deny access from other IP addresses
or address ranges.
For additional information on the firewall service, see the network services
administration guide
LL2349.Book Page 32 Friday, August 22, 2003 2:47 PM
Kommentare zu diesen Handbüchern