Article ID: 924277
Article Last Modified on 10/10/2007
APPLIES TO
- Microsoft Solution for Hosted Messaging and Collaboration 3.5
SYMPTOMS
When you use Microsoft Solution for Hosted Messaging and Collaboration 3.5 together with the Simple Mail Transfer Protocol (SMTP) domains event sink (Smtpdomx.dll) to handle domain management, recipient filtering does not work as expected.
CAUSE
This problem is caused by the way that the SMTP domains event sink validates the domain part of an incoming recipient address and by the way that recipient filtering tries to validate the domain. Because of the different methods of validating the domain, recipient filtering does not work as expected.
RESOLUTION
Hotfix information
To resolve this problem, apply the hotfix that is described in Microsoft Knowledge Base article 931524. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
931524 Hosted Messaging and Collaboration version 3.5 users receive a "550 5.1.1 User unknown" NDR message
Hotfix installation information
To apply this hotfix and to configure this hotfix, follow these steps:
- Apply the hotfix that is described in Microsoft Knowledge Base article 921101. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
921101 A recipient filter in Exchange Server 2003 does not work when you use Microsoft Solution for Hosted Messaging and Collaboration version 3.5
- Unregister the existing Smtpdomx.dll file. To do this, follow these steps:
- On the SMTP server, click Start, click Run, type control admintools, and then click OK.
- Double-click Services.
- Right-click Simple Mail Transfer Protocol (SMTP), and then click Stop.
- Click Start, click Run, type cmd, and then click OK.
- Change to the directory where the SMTP event sink is currently installed.
By default, the directory is C:\SMTPEventSink. For example, type cd C:\SMTPEventSink, and then press ENTER. - Type the following command, and then press ENTER:
Regsvr32 /u smtpdomx.dll
- Create the relay SMTP virtual server. To do this, follow these steps:
- Assign an additional IP address to the SMTP server.
- Create a Domain Name System (DNS) record for the original IP address that is assigned to the SMTP server.
- Update the existing MX record to point to the new DNS record.
- Update the original DNS record with the new IP address.
- Make sure that the SMTP server is assigned to listen to the new IP address that is assigned to the SMTP server.
- Install a new SMTP virtual server that listens to the original IP address, make sure that recipient filtering is disabled, and then make sure that relaying for authenticated users is disabled.
- Wait for the DNS entries to be updated.
Typically, this process takes four hours. However, this process may be shorter or may be longer. The length of time depends on the cache settings that are specified in the DNS server.
Note You have to follow these steps to let users send e-mail messages by using the SMTP server.
For example, assume that the MX record points to the following DNS name:smtp.example.com
Additionally, assume that users send e-mail messages by using the following DNS name:
smtp.example.com
You have the following IP addresses assigned to the SMTP server:
- The IP address 192.168.0.1 is the original IP address.
- The IP address 192.168.0.2 is the new IP address.
If you use smtp2.example.com as the new DNS name, the following changes occur:
- Smtp2.example.com is assigned the IP address 192.168.0.1.
- Smtp.example.com is assigned the IP address 192.168.0.2.
- The MX record is updated to use smtp2.example.com.
- SMTP virtual server 1 listens to the IP address 192.168.0.2.
- SMTP virtual server 2 listens to the IP address 192.168.0.1.
- Install the updated Smtpdomx.dll file from the hotfix that is described in Microsoft Knowledge Base article 931524. To do this, follow these steps:
- Copy the updated Smtpdomx.dll file to the C:\SMTPEventSink directory or to the existing directory.
- Click Start, click Run, type cmd, and then click OK.
- Type the following command, and then press ENTER:
Regsvr32 smtpdomx.dll
- Start Notepad, and then open the Smtpdomx.reg file that is located in the C:\SMTPEventSink directory.
- In the Smtpdomx.reg file, change the value of the RefreshInterval property to a hexadecimal value of 00000258, and then make sure that the value of the Filename property is empty.
Note The hexadecimal value of 00000258 equals 600 seconds. You should set the interval to a value that is appropriate for your environment. - Make sure that the Domains.dat file is in the same directory as the Smtpdomx.dll file.
- Save the Smtpdomx.reg file.
- To update the registry with the new key value, double-click the Smtpdomx.reg file.
- Make the registry changes that are described in Microsoft Knowledge Base article 921101, and then enable recipient filtering on the relay SMTP virtual server only.
- Enable recipient filtering for the incoming SMTP connection.
- Restart the Internet Information Services (IIS) Admin service. To do this, follow these steps:
- Click Start, click Run, type control admintools, and then click OK.
- Double-click Services.
- Right-click IIS Admin, and then click Restart.
- Configure the Microsoft Exchange back-end servers to use the relay SMTP virtual server to send outgoing external e-mail messages. To do this, use Exchange System Manager to add a new SMTP connector that has the following properties:
- The address space should be an asterisk (*).
- The cost should be 1.
- The connector scope should be for the whole organization.
- The bridgehead for the connection should be set to the relay SMTP virtual server that you created in step 3.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Keywords: kbhotfixserver kbqfe kbfix kbbug kbpubtypekc KB924277