
Part II: Working with Server Roles
168
To enable either protocol, first the services must be set to Automatic, as shown in Figure 6 - 3 . Next, the
service must be started. Figure 6 - 3 is an example of enabling and starting the IMAP4 service. To enable
POP3, replace the references from IMAP4 to POP3.
Figure 6-3
The following example checks the status of the IMAP4 service, or all the services that start with
msexchange:
Get-Service msexchangeimap4
Get-Service msexchange*
There are a number of options for both protocols that can be fine - tuned. Most of the settings are to
change connection and authentication options. Exchange Server 2007 implements higher security out of
the box and it is generally unnecessary to change any configuration. However, to change POP3 and
IMAP4 settings, use the cmdlets
Set-PopSettings and Set-ImapSettings as shown here:
Set-PopSettings [-AuthenticatedConnectionTimeout < EnhancedTimeSpan > ]
[-Banner < String > ] [-CalendarItemRetrievalOption < iCalendar | intranetUrl
| InternetUrl | Custom > ] [-DomainController < Fqdn > ] [-Instance
< Pop3AdConfiguration > ] [-LoginType < PlainTextLogin |
PlainTextAuthentication | SecureLogin > ] [-MaxCommandSize < Int32 > ]
[-MaxConnectionFromSingleIP < Int32 > ] [-MaxConnections < Int32 > ]
[-MaxConnectionsPerUser < Int32 > ] [-MessageRetrievalMimeFormat < TextOnly |
HtmlOnly | HtmlAndTextAlternative | TextEnrichedOnly ...