Previous Next

Thread: SMTP Server with IIS 7 - causing port problems?

Last post 06-17-2008 1:18 AM by steve schofield. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-11-2008, 11:25 PM

    • trojan1
    • Not Ranked
    • Joined on 06-11-2008, 11:19 PM
    • Posts 2

    SMTP Server with IIS 7 - causing port problems?

    Hello, I'm running PostCast Server Free Edition (an SMTP server), Windows Server 2008 with IIS 7.

    My ISP blocks port 25 so I've set PostCast Server to use port 486 for mail instead, as well as configuring my router's firewall to allow connections through 486, as well as adding PostCast Server to the windows firewall. I've also changed the SMTP settings in IIS to use port 486 for web applications - even though I'm sending mail using the Persits.MailSender object from within a Classic ASP script, so I don't think this makes a difference.

    The script works fine and sends the message(s) to PostCast Server and they appear in the queue. However, when it tries to send them it times out when trying to connect. When I check the logs on the router it's still trying to use port 25 to send the mail!

    Have I missed something?

    Thanks in advance for your help.

  • 06-15-2008, 10:43 PM In reply to

    Re: SMTP Server with IIS 7 - causing port problems?

    If you don't define a specific port, it appears to default to port 25.  Have you tried setting port 486 in your code?

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-16-2008, 4:53 PM In reply to

    • trojan1
    • Not Ranked
    • Joined on 06-11-2008, 11:19 PM
    • Posts 2

    Re: SMTP Server with IIS 7 - causing port problems?

    Thanks for the reply Steve. I have used emailObject.Port = 486 to set the port that the persits mailsender uses before calling the emailObject.Send method, but still no joy.

    Although I think I may have found the problem. My ISP is Orange Broadband and I believe they block port 25 to prevent spam. I can use their mail server at smtp.orange.co.uk but it's very slow. Is there another way to solve the problem short of changing ISPs?

    Thanks for your help

    Greg
     

  • 06-17-2008, 1:18 AM In reply to

    Re: SMTP Server with IIS 7 - causing port problems?

    Generally you'll need a business account to allow port 25.   Few options.

    1) Get a new ISP

    2) use your current isp's mail server

    3) move your email to google or some other 3rd party

    None of them are easy I guess.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (4 items)
Page view counter