locked
If the port is open RRS feed

  • Question

  • Hi,
    how to ensure firewall is open in port 25? If I can telnet it like

    telnet 192.168.168.1 25

    220 WIN-BVDIC8GIAHI.win08.huamin.com Microsoft ESMTP MAIL Service ready at Wed,
    23 Oct 2013 17:35:50 +0800

    while 192.168.168.1 is the server IP in local network, does it mean it is open in port 25?

    Many Thanks & Best Regards, Hua Min

    Friday, October 25, 2013 3:06 AM

Answers

  • You DNS is not resolving external IPs, fix it with your ISP.

    Here is the output in my cmd prompt

    C:\windows\system32>nslookup
    Default Server:  dns-cac-lb-01.rr.com
    Address:  209.18.47.61

    > set q=mx
    > outlook.com
    Server:  dns-cac-lb-01.rr.com
    Address:  209.18.47.61

    Non-authoritative answer:
    outlook.com     MX preference = 10, mail exchanger = mx2.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx3.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx4.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx1.hotmail.com
    >

    Once you get this output, you have to telnet to mx2.hotmail.com, like below

    telnet mx2.hotmail.com 25

    ----------------

    what is the outcome of incoming mailflow.


    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Saturday, October 26, 2013 3:52 AM

All replies

  • For Incoming

    send an email from gmail or other external email for incoming email testing. You can also run a smtp test at

    http://mxtoolbox.com 1st run mx lookup for your domain then smtp test will come on the right side of the reply

    For outgoing

    install telnet client

    go to cmd

    type nslookup

    then type set q=mx

    type outlook.com

    you will get multiple mx records here

    open a new cmd prompt and type telnet mx record 25 hit enter

    if you get 220 then your port is open.


    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Friday, October 25, 2013 4:35 AM

  • Thanks a lot. Here are what I've got


    C:\Users\Administrator>nslookup
    Default Server:  rbsdns31.net-yan.com
    Address:  210.0.128.241
    
    > set q=mx
    > outloook.com
    Server:  rbsdns31.net-yan.com
    Address:  210.0.128.241
    
    Non-authoritative answer:
    outloook.com.win08.huamin.com   canonical name = qiye.g2.org
    
    g2.org
            primary name server = dns6.iidns.com
            responsible mail addr = domainadmin.iidns.com
            serial  = 1353228827
            refresh = 3600 (1 hour)
            retry   = 900 (15 mins)
            expire  = 1209600 (14 days)
            default TTL = 3600 (1 hour)
    >
    
    
    and in another prompt, I get this

    C:\Users\Administrator>telnet mx record 25
    
    telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]
     -a      Attempt automatic logon. Same as -l option except uses
             the currently logged on user's name.
     -e      Escape character to enter telnet client prompt.
     -f      File name for client side logging
     -l      Specifies the user name to log in with on the remote system.
             Requires that the remote system support the TELNET ENVIRON option.
     -t      Specifies terminal type.
             Supported term types are vt100, vt52, ansi and vtnt only.
     host    Specifies the hostname or IP address of the remote computer
             to connect to.
     port    Specifies a port number or service name.



    Many Thanks & Best Regards, Hua Min

    Friday, October 25, 2013 6:19 AM
  • Check the public NAT of this local IP and telnet on that public NAT ip on port 25 using any External network like broadband

    OR if that public IP is your primary MX IP then run email test in www.network-tools.com website


    Jeevan singh

    Friday, October 25, 2013 1:15 PM
  • You DNS is not resolving external IPs, fix it with your ISP.

    Here is the output in my cmd prompt

    C:\windows\system32>nslookup
    Default Server:  dns-cac-lb-01.rr.com
    Address:  209.18.47.61

    > set q=mx
    > outlook.com
    Server:  dns-cac-lb-01.rr.com
    Address:  209.18.47.61

    Non-authoritative answer:
    outlook.com     MX preference = 10, mail exchanger = mx2.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx3.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx4.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx1.hotmail.com
    >

    Once you get this output, you have to telnet to mx2.hotmail.com, like below

    telnet mx2.hotmail.com 25

    ----------------

    what is the outcome of incoming mailflow.


    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Saturday, October 26, 2013 3:52 AM
  • Hi,

    Is there further question on this thread?

    Thanks,

    Simon

    Exchange Forum Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

    Monday, October 28, 2013 7:00 AM
  • You DNS is not resolving external IPs, fix it with your ISP.

    Here is the output in my cmd prompt

    C:\windows\system32>nslookup
    Default Server:  dns-cac-lb-01.rr.com
    Address:  209.18.47.61

    > set q=mx
    > outlook.com
    Server:  dns-cac-lb-01.rr.com
    Address:  209.18.47.61

    Non-authoritative answer:
    outlook.com     MX preference = 10, mail exchanger = mx2.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx3.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx4.hotmail.com
    outlook.com     MX preference = 10, mail exchanger = mx1.hotmail.com
    >

    Once you get this output, you have to telnet to mx2.hotmail.com, like below

    telnet mx2.hotmail.com 25

    ----------------

    what is the outcome of incoming mailflow.


    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Good day PrabhatNigam,
    Here is what I get now

    C:\Users\Administrator>nslookup
    Default Server:  localhost
    Address:  ::1

    >

    what to adjust?


    Many Thanks & Best Regards, Hua Min

    Tuesday, November 5, 2013 2:47 AM
  • looks like IPv6 is ruling on your server. Please disable IPv6 using the below article with value ffffffff

    http://support.microsoft.com/kb/929852/en-us

    then do the nslookup and type the following cmds and paste the output

    nslookup

    set q=mx

    Hotmail.com


    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Tuesday, November 5, 2013 6:15 AM
  • Many thanks PrabhatNigam. Here are what I've got

    C:\Users\Administrator>nslookup
    Default Server:  localhost
    Address:  127.0.0.1
    
    > set q=mx
    > Hotmail.com
    Server:  localhost
    Address:  127.0.0.1
    
    DNS request timed out.
        timeout was 2 seconds.
    Non-authoritative answer:
    Hotmail.com     MX preference = 5, mail exchanger = mx4.Hotmail.com
    Hotmail.com     MX preference = 5, mail exchanger = mx1.Hotmail.com
    Hotmail.com     MX preference = 5, mail exchanger = mx2.Hotmail.com
    Hotmail.com     MX preference = 5, mail exchanger = mx3.Hotmail.com
    
    mx4.Hotmail.com internet address = 65.55.37.120
    mx4.Hotmail.com internet address = 65.55.92.168
    mx4.Hotmail.com internet address = 65.55.92.184
    mx4.Hotmail.com internet address = 65.55.37.72
    mx4.Hotmail.com internet address = 65.54.188.94
    mx4.Hotmail.com internet address = 65.55.92.136
    mx4.Hotmail.com internet address = 65.54.188.72
    mx4.Hotmail.com internet address = 65.55.37.104
    mx4.Hotmail.com internet address = 65.54.188.126
    mx4.Hotmail.com internet address = 65.54.188.110
    mx4.Hotmail.com internet address = 65.55.37.88
    mx4.Hotmail.com internet address = 65.55.92.152
    mx1.Hotmail.com internet address = 65.55.37.88
    mx1.Hotmail.com internet address = 65.55.37.120
    mx1.Hotmail.com internet address = 65.55.92.168
    mx1.Hotmail.com internet address = 65.55.37.72
    mx1.Hotmail.com internet address = 65.54.188.110
    mx1.Hotmail.com internet address = 65.55.37.104
    mx1.Hotmail.com internet address = 65.54.188.94
    mx1.Hotmail.com internet address = 65.55.92.152
    mx1.Hotmail.com internet address = 65.54.188.126
    mx1.Hotmail.com internet address = 65.55.92.136
    mx1.Hotmail.com internet address = 65.54.188.72
    mx1.Hotmail.com internet address = 65.55.92.184
    >
    


    Many Thanks & Best Regards, Hua Min

    Tuesday, November 5, 2013 8:24 AM
  • This is looking better.

    now run the below cmd and share the output

    telnet mx1.hotmail.com 25

    Ehlo


    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Wednesday, November 6, 2013 3:52 AM
  • Thanks a lot.

    I get this

    220 SNT0-MC3-F46.Snt0.hotmail.com Sending unsolicited commercial or bulk e-mail
    to Microsoft's computer network is prohibited. Other restrictions are found at h
    ttp://privacy.microsoft.com/en-us/anti-spam.mspx. Tue, 5 Nov 2013 21:07:53 -0800


    Many Thanks & Best Regards, Hua Min

    Wednesday, November 6, 2013 5:08 AM
  • Looks good. Would you send test emails and let me know if any issue?

    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Wednesday, November 6, 2013 5:38 AM
  • I did try to send out mail using

    https://localhost/owa

    but I have got this

    Delivery has failed to these recipients or groups:
    peterchen@gmail.com (peterchen@gmail.com)
    The server has tried to deliver this message, without success, and has stopped trying. Please try sending this message again. If the problem continues, contact your helpdesk.






    Diagnostic information for administrators:
    Generating server: WIN-P5DVKJ875C3.win08.domain1.com
    peterchen@gmail.com
    #550 4.4.7 QUEUE.Expired; message expired in unreachable destination queue. Reason: A matching connector cannot be found to route the external recipient ##

    Many Thanks & Best Regards, Hua Min

    Wednesday, November 6, 2013 6:43 AM
  • yes this mean it is open in port 25...
    Wednesday, November 6, 2013 7:05 AM
  • Please create send connector with * domain and DNS lookup for mx.

    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Wednesday, November 6, 2013 1:24 PM
  • Yes, we have tested port 25 from server to Internet is open. Your original question has been answered.

    Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card

    Wednesday, November 6, 2013 1:28 PM