Announcement

Collapse
No announcement yet.

SBS2011 SMTP Receive connector problem.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SBS2011 SMTP Receive connector problem.

    System SBS2011 (migrated from SBS2003). Single NIC 2 IP addresses assigned.
    internal Email is no issue, also email goes out without issue.
    What i need to do is allow incoming emails on port 25 (The router port is open and forwarded to the server).
    I have the "Default {servername}" incoming smtp connector set up without any issue.
    I have bound the Default only to the 1st IP on the server instead of the "All Availabe" setting.
    Created a Second SMTP receiver using the wizard create connector in Exchange management ui Bound it to the second IP.
    Restart SMTP Service (dont know if i needed to, but cant hurt)
    from external i can "telnet URL 25" through the router and get the correct SMTP (I can tell by the response "220 remote.{mydom}.org" return)
    everything works as it should.
    *****Reboot Server*****
    now when i try to connect from external computer i get the answer from the wrong server. Ahhhh!
    At the server Restart SMTP service - No change
    from exchange shell run get-receiveconnector | format-list
    Everything looks fine as Attachment


    So i went into the external connector (in management console) and changed something, apply, Change it back, Apply. Restart SMTP service and it works again.

    I have been through this multiple times with the same issue.
    I have tried just adjusting the Default connector to allow from ip 0.0.0.0-255.255.255.255 and anonymous. But if i do this, after a reboot, then it shows that it is still set but when i connect to it and try to "rcpt to:[email protected]" it replies with unable to relay.

    I am just going in circles now. And whilst i have it working it is fine, but if there is a reboot it will change back. Any ideas?
    Yes i have been through the connect to internet wizard (this is what sets it initially to internal connector.
    Yes i have run through the "Fix my network" wizard many times.

    Cheers

    Andrew
    Attached Files

  • #2
    Re: SBS2011 SMTP Receive connector problem.

    is it something on your firewall by chance ?
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment


    • #3
      Re: SBS2011 SMTP Receive connector problem.

      If something else is answering the SMTP inbound traffic, but it works after a service restart that sounds like something else is on the server and getting in the way. AV, Antispam etc. Something else listening to port 25.

      Simon.
      --
      Simon Butler
      Exchange MVP

      Blog: http://blog.sembee.co.uk/
      More Exchange Content: http://exchange.sembee.info/
      Exchange Resources List: http://exbpa.com/
      In the UK? Hire me: http://www.sembee.co.uk/

      Sembee is a registered trademark, used here with permission.

      Comment


      • #4
        Re: SBS2011 SMTP Receive connector problem.

        Hey guys thanks for your input. (Good to see your still around Sembee. Miss you in EE

        No there is no firewall or AV thoewing the issue as far as i can see as then i would expect to see no reply from a telnet, not just it not allowing from external IP's.

        I would have agreed with you Sembee, but a quick netstat showed me that the process that was listening was inetinfo as i would expect. and simply making some change to the SMTP receiver and restarting the SMTP service gets it working again. If i make no change and restart the service, the issue remains. It really is like SBS keeps wanting to change the settings at a reboot, but the get-connector shows everything as though it should work.

        i have had a response from a member in EE to netdiag /fix command which sounds like a fair opinion, and i should have thought of this (Bang Head) will let you know how i go.

        Cheers

        Comment


        • #5
          Re: SBS2011 SMTP Receive connector problem.

          The mistake that you have made is changing things.
          SBS 2011 likes to have things setup in its own way. For example it doesn't use the default connector, it has its own. Therefore if you have changed the configuration on the default connector you might not have actually changed anything.
          As such it could mean that you have two connectors that are getting in the way.

          From memory, I think if you remove the SBS connector and then run the Fix My Network wizard, it will put it back in for you.

          Simon.
          --
          Simon Butler
          Exchange MVP

          Blog: http://blog.sembee.co.uk/
          More Exchange Content: http://exchange.sembee.info/
          Exchange Resources List: http://exbpa.com/
          In the UK? Hire me: http://www.sembee.co.uk/

          Sembee is a registered trademark, used here with permission.

          Comment


          • #6
            Re: SBS2011 SMTP Receive connector problem.

            Thanks Sembee Bit hard to just use the wizards when they keep failing with meaningless explanations. Unfortunatly the wizards ability to recover when things arent perfect have gone downhill from the 2003 days.

            As this was a migration from 2003 it meant that it inherited a lot of issues.

            I came in late on the server as my original advise to the system administrator was to build the SBS from a clean install rather than the migration path as they had limited mailboxes, and he inherited the site from multiple sys admins. Unfortunatley he chose not to go with fresh and go migration.

            When this issue arose he decided to contract out the repair to me. I had to remove ( forceremoval) the old server, and clean the metadata.

            The problem was that there was an SMTP connector in IIS that was causing the grief.

            First i tried to configure that SMTP connector to allow connections from the internet. This only made the situation worse as now all mail seemed to flow without issue but went to no-where (i am sure there is a log somewhere that would allow me to track it).
            I know the messages where being recieved as i was sending a test message via telnet which allowed me to follow the entire process, and the server accepted the entire message.

            Next i decided that the servers IIS doesnt actually require this SMTP as it was a left over from when the server was migrated up from SBS2003, (i checked one of my other SBS2011 servers that was a fresh build and the IIS SMTP connector did NOT exist in it).

            so via the SBS console > Features i removed the SMTP feature. This followed through a wizard (which does involve a reboot, that then finalizes the removal).
            Once this SMTP was gone everything worked as it should.
            Also (in case anyone has the same thoughts that i did) i did try just getting the IIS SMTP to listen to a different port (24) hopeing that this would result in the exchange hub SMTP to be able to control port 25, but this does not work, as then there was nothing listening on port 25, so the only answer was to remove it altogether. I figured this is not overly dangerous as at worst i could reinstall the feature and nto loose anything.

            Cheers for all help.

            Comment

            Working...
            X