Showing posts with label SMTPs. Show all posts
Showing posts with label SMTPs. Show all posts

Friday, October 25, 2013

Configuring POP3s/SMTPs access to Exchange 2010 (part 2 - POP3s)



POP3s:

  • Setting up the X.509 certificate name: in EMC – Server Configuration/Client Access; highlight the server, click “POP3 and IMAP4” tab in the lower pane; highlight POP3/right click/Properties; on “Authentication” tab put popserver.yourdomain.com in the “X.509 certificate name” field

  • Assigning the certificate to POP3:

Unlike the IIS, SMTP, the POP3 certificate assignment fails when you use the “normal” way (ie. Server Configuration/highlight the server/select the proper certificate in the lower pane/right click/”Assign Services to Certificate”), you have to run following command in the Powershell “Set-PopSettings –X509CertificateName popserver.yourdomain.com” (check PopSettings using the command “Get-Popsettings | fl”)

  • Publish POP3 settings to outside:
Follow the article: http://exchangeserverpro.com/exchange-2010-publish-pop3-client-settings/ .   Basically, if you follow the article they have you do following:
  • Check the setting by running “Get-Popsettings | fl”

  • Do iisreset

Configuring POP3s/SMTPs access to Exchange 2010 (part 1 - SMTPs)



SMTPs:
  • Create ‘Receive Connector’ for this (in EMC: Server Configuration/Hub Transport, highlight the server, ‘New Receive Connector’ from the right pane) – on the production servers naming convention like ‘Fancy Name Connector’
  • Following are parameters of the new connector:    
       On General Tab: Specify the FQDN: smtphost.yourdomain.com 
       On Network Tab: Use these local IP addresses to receive mail: 'All Available IPv4'; Port: 465; Receive mail from remote servers that have these IP addresses: all 
       On Authentication: Following to be check marked: 'Transport Layer Security' (TLS), 'Basic Authentication', 'Offer Basic Authentication after starting TLS', 'Integrated Windows authentication
       On Permission Groups: 'Exchange users'
  • Allow the group “Authenticated Users” proper permissions (ie. “Accept any Sender”) using ADSIEdit:
  Run ADSIEDIT
Connect to “Configuration”
Navigate to: “CN=Configuration,DC=yourdomain,DC=com/CN=Services/CN=Microsoft Exchange/CN=First Organization/CN=Administrative Groups/CN=Exchange Administrative Group (FYDIB…)/CN=Servers/CN=’ServerName’/CN=Protocols/CN=SMTP Receive Connectors”
             Right click the connector/Properties/Security Tab 
             Set “Accept Any Sender” for “Authenticated Users” 

Run command “Get-ReceiveConnector "hubserver.yourdomain.com\ Fancy Name Connector " | fl” to note the “AdvertiseClientSettings” set to false

Run command: “Set-ReceiveConnector " hubserver.yourdomain.com \ Fancy Name Connector " –AdvertiseClientSettings $true”
Check the setting by running “Get-ReceiveConnector " hubserver.yourdomain.com \ Fancy Name Connector”