Clean up the Exchange Server’s SMTP
Warning During this process, ALL messages that are
destined for external SMTP recipients are deleted. Internal e-mail and incoming
e-mail from the Internet are not affected. The settings below are temporary and
steps to undo these changes will be included later in this section.
Note A webcast is available that demonstrates how to clean up the
Exchange Server’s SMTP queues. To view this webcast, click the following link:
|1.||In Exchange System Manager, click SmallBusiness SMTP Connector under Connectors. This phase requires an SMTP connector. If the
Exchange server does not have an SMTP connector, create one. To do this, follow
|2.||Right-click SmallBusiness SMTP
Connector, and then click Properties. If
you have more than one SMTP Connector, the one that you want to work with in the
following steps is the one that contains the “*” (asterisk) for the SMTP address
on the Address Space tab.
|3.||Click the General tab. Make a note
of all the settings on this tab. You have to return these settings later in this
|4.||Click Forward all mail through this
connector to the following smart hosts.
|5.||In the field provided, type a false IP address and enclose it in
brackets. For example, type [188.8.131.52].
|6.||Click the Deliver Options tab
|7.||Click Specify when messages are sent through
|8.||In the Connection Time list, click
Run daily at 11:00 PM.
|9.||Click OK to close the SMTP Connector Properties dialog box.|
|10.||Expand Servers, expand Servername, expand Protocols, expand SMTP.
Right-click the Default SMTP Virtual Server, and
then click Stop.
|11.||It may take several minutes for the SMTP Virtual Server to stop.
After the Default SMTP Virtual Server has stopped, right-click the Default SMTP
Virtual Server again, and then click Start. It may
take several minutes for the Default SMTP Virtual Server to start.
|12.||After the Default SMTP Virtual Server has started, wait about 10
Now the Default SMTP Virtual Server can re-enumerate the
|13.||After about 10 minutes, expand Default SMTP
Virtual Server, and then click Queues.
|14.||Note the total number of messages on the right next to the
Small Business SMTP Connector.
|15.||Right-click Queues, and then click
Refresh approximately every 15 minutes.
|16.||Repeat step 15 until the total number of messages remains
|17.||Locate the queue for the SmallBusiness SMTP Connector. The queue
is indicated by the small red clock on the yellow folder icon.
|18.||Depending on your version of Small Business Server installation,
follow the appropriate section to delete the messages from the queues:
|19.||Click Yes when you are prompted
with the question of whether to delete messages in the selected queue. Deleting
these message may take some time, depending on the number of messages in the
|20.||After the messages are deleted, right-click Queues, and then click Refresh.|
|21.||Note the total number of messages for the SmallBusiness SMTP
Connector queue. The number is zero.
|22.||Wait approximately 5 minutes, and then refresh Queues again. The
goal is to have the number of messages in the SmallBusiness
SMTP Connector queue reach zero and stay at zero. If this number
increases, the Exchange server is still processing messages for external
delivery through the SmallBusiness SMTP Connector. Repeat this step until the
number stabilizes again.
|23.||Repeat steps 19 through 23 until the number of messages in the
SmallBusiness SMTP Connector queue is consistently
zero. When it is, the Exchange server’s SMTP queues have been purged of the
unsolicited commercial e-mail.
has been cleaned of the unsolicited commercial e-mail, you have to undo the
changes that you made in steps 2 through 8. To undo the changes, follow these
|1.||In Exchange System Manager, expand Connectors, right-click the SmallBusiness SMTP Connector, and then click Properties.
If you created a temporary SMTP
|2.||On the General tab, change these
settings to those documented in step 3 under Clean Up the Exchange
Server’s SMTP Queues.
|3.||Click the Delivery Options
|4.||Verify that Specify when messages are sent
through this connector is selected.
|5.||In the Connection Time list, click
|7.||Expand Servers, expand Servername, expand Protocols, and then expand SMTP. Right-click Default SMTP
Virtual Server, and then click Stop.
|8.||After the SMTP Virtual Server has stopped, right-click Default SMTP Virtual Server again, and then click Start.|
Now you have configured
the Exchange server to block open SMTP relaying and you have removed the
unsolicited commercial e-mail from Exchange Server’s SMTP queues. The next step
is to clean up the file system.