8.22. Disabling User Access to POP3, IMAP4, and HTTP
Problem
You want to control access to your Exchange S erver from non-MAPI clients, allowing some users to use IMAP, POP, or HTTP and preventing others from doing so.
Solution
Using a graphical user interface
To disable an individual user's access to POP3, IMAP4, or HTTP, do the following:
Log on to your Exchange server using an account that has administrative privileges on the domain.
Open the ADUC snap-in (dsa.msc).
Locate the account for which you want to disable POP3 access.
Right-click the target account and select Properties.
Select the Exchange Features tab. Under Protocols, click the protocol you want to disable, and then click Disable.
Click OK.
To keep any user from using POP3 or IMAP4 on a particular server, do the following:
Log on to the target Exchange server.
Open the Services snap-in (services.msc).
Locate the service you want to disable (Microsoft Exchange POP3 or Microsoft Exchange IMAP4).
Right-click the service, and choose Stop from the context menu.
To prevent the service from being restarted on the next boot:
Right-click the service and select Properties.
Change Startup Type to either Manual or Disabled.
Click OK.
Using VBScript
' This code disables access to POP3, HTTP, and IMAP ' ------ SCRIPT CONFIGURATION ------ strUser = "cn=<username>,cn=Users,dc=<domain>,dc=<com>" ' e.g., "cn=Paul Robichaux,cn=Users,dc=robichaux,dc=net" charSS = Chr(167) 'define a section symbol symbolset = "ISO-8859-1" 'choose a symbol set for pop3 & imap4 ...