|
Configuring a Bounce Handler in Windows
Before you begin, please ensure you have a bounce domain (such as bounce.yourdomain.com) configured, and its MX record pointed to your Windows 2003 server.
1. Click on Start > Administrative Tools > Internet Information Services (IIS) Manager

2. Right-click on Default SMTP Virtual Server then click on New > Virtual Server...

3. Enter your bounce handler's domain name and click Next >

4. Select (All Assigned) and click Next >

5. Enter a Home directory (something like C:\IISMAIL) and ensure the drive has sufficient disk space. Then click Next >

6. Enter your domain name again then click Finish

7. In the left-hand panel, select Domains under your domain name, and on the right you should see the domain name with type set to local (Default).

8. Right-click on your domain and select Properties. Write down the assigned Drop directory (for example, C:\IISMAIL\Drop) as it will be required for Ensight.

9. Download the file bounce.php.zip (extract the file bounce.php from within) and overwrite the existing file within <ROOT_FILES>/live of your Ensight installation. If using FTP, please upload using BINARY transfer mode.
10. Open <ROOT_FILES>/live/modules/globals.php and add a line near the bottom as follows:
define ("MAILBOT_DROP_DIR", "C:\\IISMAIL\\Drop");
Important: The backslashes (\) must always be doubled.
Open <ROOT_FILES>/live/modules/connect.php and edit the following line:
define ("MailBot", "MAILBOT@bounce.yourdomain.com");
11. To have the bounce handler poll every minute, click Start > All Programs > Accessories > System Tools > Scheduled Tasks
12. Double-click Add Scheduled Task
13. Click Next when prompted.
14. Click Browse and select bounce.php from <ROOT_FILES>/live.

15. When prompted, select Daily under Perform this task and click Next >

16. Enter 12:00 AM under Start time, and click Next >

17. Enter the appropriate user name and password to run the application. The Administrator user should suffice.
18. Check Open advanced properties for this task when I click Finish, and click Finish
19. Under Advanced Properties, click on the Schedule tab, and select Advanced

20. Check Repeat task, and set it to run every 1 minutes for 24 hours, then click OK. Click OK again to begin the schedule.

21. To test your bounce handler, send an email to MAILBOT-test@bounce.yourdomain.com. The mail should appear within the defined Drop directory within a minute, and it should be removed shortly afterwards by the bounce handler. The Webmaster email address will receive a confirmation email if all is successful.
For further assistance, please complete the form below.
|