Forum Discussion

hortonw_37060's avatar
hortonw_37060
Icon for Nimbostratus rankNimbostratus
May 06, 2008

Sharepoint and Incoming Email

Our Sharpoint server pool uses Windows Load Balancer Service, and worked fairly well. We want to put the server pool behind the F5. The web requests all work excellently. Our problem is incoming email.

 

 

We have several different apps that can send email to the Sharepoint servers and have that document post on a Sharepoint page. With WLBS, this works fine. Behind the F5, we get errors (posted below). We have tried several different configurations allowing SMTP to be forwarded by the F5 to the Sharepoint servers, but nothing seems to work.

 

 

I searched the forums and docs, but can't find anything specific about our case. I tried the generic SMTP iRule from the Wiki, but it did not work for us (seems to do more than we want). Is there something I am missing? This seems like it would be simple to do ....

 

 

Error symptoms are email queues to Sharepoint go up when pointed to the F5, and clear when pointed to a single server in the Sharepoint pool. If I use telnet and port 25, I get connected but an error after hitting enter:

 

 

HTTP/1.1 400 Bad Request

 

Content-Type: text/html

 

Date: Tue, 06 May 2008 13:37:24 GMT

 

Connection: close

 

Content-Length: 35

 

 

Bad Request (Invalid Verb)

 

 

Connection to host lost.

 

 

Sorry so long! Any help is appreciated.

 

 

Thanks!

 

 

I should mention that the IIS servers for Sharepoint use IP headers to route the traffic ... all the F5 does it answer to the virtual server IP and forward to the Sharepoint server pool. No rules.

2 Replies

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Do the Sharepoint servers also have an SMTP server running which receives the emails and incorporates the email content into the Sharepoint app? The HTTP 400 error looks like some client is connecting to the web server and trying to send SMTP commands. That shouldn't work whether you're testing direct to the Sharepoint server or through the virtual server.

     

     

    Have you configured an SMTP VIP (on port 25) which points to a pool of SMTP servers? If you disable all but one server in the pool, does the email functionality work?

     

     

    Aaron
  • Thanks to your timely suggestion, it is fixed!

     

     

    Almost embarrassed to tell why - I had set up the SMTP server pool to use port 80 instead of port 25. Your post sparked me to look at this again, and I saw the error. When I changed the ports, it worked fine. Nevermind that I had looked at this before and not seen this! :-)

     

     

    I appreciate your help; the simple things seem to trip me up the most. Thanks again.