Exchange 2010 IMAP integration settings


#1

Hello,

I am trying to connect hubspot to my exchange server using IMAP but can't seem to get it working. IMAP4 is enabled on my server and listening on port 993. Port forwarding is setup from that port to my server for hubspot IP addresses. I am using the advanced options and inputting the username as DOMAIN\USERNAME . I have set it to all three authentication settings with no success (TLS required, windows authentication using plain text, and plain text). Each ends with the same error "Sorry, Hubspot can't access your inbox". I am left thinking there are either very specific settings needed for IMAP or hubspot just doesn't work with IMAP on Exchange 2010. Can anyone provide any help on this?


#2

Hi @advnetsol,

If you're having trouble connecting your inbox via IMAP, I'd recommend reaching out to our Support team so that they can take a look at what might be wrong. You can contact them by clicking the 'Help' widget in your portal, or by calling 1 888-482-7768 x3.


#3

Derek,

unfortunately I don't have a paid hubspot account. I am trying to help a client get this setup, they are new to hubspot so I don't have any support options from what I can tell.


#4

Hi @advnetsol,

No worries, apologies for sending you less-than-useful Support info. You can still get support for IMAP issues on the HubSpot Community here; you'll want to create a post including the information Ed has listed here:


#5

I ended up figuring out the problem. It was that I needed additional IP addresses hubspot was attempting to initiate the connection from. These IPs were not provided by any articles and hubspot support didn't even know about them. I ended up finding them by monitoring all network traffic on ports 25 and 993 to find them. Hopefully hubspot can pin down what IPs they use so network admins like myself that don't want exchange open to the entire world can restrict traffic properly.

For anyone who may be looking for exchange configuration settings and at least need something to go off of regarding what hubspot can work with, here is how I configured my server:

Allowed traffic from hubspot IP addresses to my exchange server on port 25 and 993.
for IMAP4 traffic: Server Configuration -> Client Access -> pop3 and imap4 -> properties for IMAP4 connector -> authentication -> secure logon: A TLS connection is required for the client to authenticate to the server. Once this is set, start/restart the IMAP4 service.
for SMTP traffic: server configuration -> hub transport -> under receive connectors click new receive connector -> give it a name and leave and click next -> enter the dns name for your ssl cert (mail.mycompany.com) and click next -> remove the default allowed networks -> add the IPs of any hubspot servers that will send email -> click next -> click new. Right click on the new connector and select properties -> authentication -> uncheck everything except Transport Layer Security -> click apply -> click permission groups -> uncheck everything except exchange servers and click apply. Restart the exchange transport service.

This should allow hubspot to send and receive with the connector.