Questions

How to open or configure port 25/exchange

+
0 Votes
Locked

How to open or configure port 25/exchange

mmbc_voltron
I have opened port 25 on my linksys router: on the app and gamming page. But I cannot get through. I am testing with telnet. Does this mean that my smtp is not setup correctly on my exchange server? Where can i check?
  • +
    0 Votes
    CG IT

    if you open port 25 you have to specify by IP address where port 25 traffic goes. e.g. your exchange server.

    further, you have to have DNS direct traffic to your public IP address. It's not enough just to open port 25, you have to have a Domain Name Service that will answer queries that joeuser@yourdomain.com is your public IP address.

    Just read your other post, so here's how you do this.

    You domain registrar automatically assigns it's name servers to your domain name as authoritative name servers. That means that their name servers will resolve any internet whois queries. So to have queries go to your public address you have to specify your name server or use a 3rd party DNS service which will resolve queries to your static address[ they are usually used for dynamic addresses but they will work for static address and you don't have to worry about your DNS server. DNS servers are a hackers magnet].

    That's how you do it.

    +
    0 Votes
    Kjell_Andorsen

    If it's a typical Linksys router the gaming and apps page doesn't nescessarily open ports from a firewall perspective, instead it sets prt forwarding to those ports for NAT purposes. You also want to check the firewall section of your router and any software firewall you may have going. Are you able to telnet on port 25 from INSIDE the network? That would help determine if the Router is the problem.

    +
    0 Votes
    mmbc_voltron

    I did the telnet on the server

    telnet mail.domain.com 25
    500 5.3.3 Unrecognized command
    Does this mean I don't have exchange setup right?

    +
    0 Votes

    yep

    CG IT

    here's the MS KB on Telnet to exchange

    http://support.microsoft.com/kb/153119

    here's MS KB basic troubleshooting for Exchange SMTP service http://support.microsoft.com/kb/257265/

    +
    0 Votes
    mmbc_voltron

    I can't enable Diagnostic Logging.
    The options are greyed out.
    Never mind
    I got it enabled.

    +
    0 Votes
    mmbc_voltron

    I am using the telnet tests and when i do a EHLO mydomain.com I get an invaild address.
    but if i do a EHLO mail.mydomain.com I got a list of 250 with different things. But if i do it again i get invaild address. I closed the window and tried it again but same error. why could i do it one time but not another time?
    And when i do i get an invaild address when i do a MAIL FROM:name@mydomain.com
    same error inside the network or outside.

    +
    0 Votes

    Have you set up a a MX record for your domain.

    +
    0 Votes
    mmbc_voltron

    I setup an MX record at the hosting site that points to my IP. On my server i don't know what MX record to put.
    At the hosting site i added mail.mydomain.com = my ip
    on my server i though i needed one to point to my hosting company. mail.hosting.com
    is that correct?

    +
    0 Votes
    CG IT

    I think the problem is that you don't understand DNS and Name Servers.

    DNS just resolves names to addresses. the different records are just that name = address.

    What name servers do is send out a "whois" query. e.g hey! anyone know whois yourdomain.com?

    your DNS server or a DNS service that handles your domain name resolution has to respond Yes! yourdomain.com is ip address XXX.XXX.XXX.XXX. That XXX.XXX.XXX.XXX is your public IP address assigned to you by your ISP. Without that, nothing will find you.

    What most consumers don't know is that when they buy a domain name, the company they buy it from [the domain registar] assigns their DNS servers and name servers for your domain name. If you want to host your own, you have to change that either to use your own DNS server for your domain as a name server or use a DNS service.

    If you haven't changed name servers at your domain name registar [the company you bought the domain name from] or have them create DNS records that will say your public address is yourdomain.com no mail, or even web requests will ever find it's way to you.

    +
    0 Votes

    In your name server, you need a MX to point mail to your server.

    I use DNSMadeeasy and they have some basic info on DNS here:

    http://www.dnsmadeeasy.com/pages/dns.html

    +
    0 Votes

    SMTP is for outgoing mail. You might need to open 110 (pop) and 143 (imap) for incoming.

    +
    0 Votes

    ok

    mmbc_voltron

    it looks like exchange is receiving mail. it just isn't delivering to the outlook box.
    If i view the mailbox store and click on mailboxes i see all the messages that are suppose to be in each of the users inbox. When i go to Outlook on a WS the inbox is empty. the user is setup to connect to the exchange server. there address is in their user profile. I send a message from an external domain to the internal and the total items went up one. So there is mail in the exchange, it doesn't know how to deliver it to the user. correct?

    +
    0 Votes
    CG IT

    POP3 isn't SMTP

    IF his exchange server is setup as an SMTP mail server then it's not a POP3 server.

    SMTP is both incoming and outgoing where Exchange is the mail server.

    POP3 Exchange contacts the ISP POP3 server [or which ever mail service the mail goes to] and downloads the mail, then distributes the mail to users mail boxes.

    if you do not get the standard reply from Exchange using the telnet test, then Exchange is configured wrong.

    +
    0 Votes
    mmbc_voltron

    what about the mailbox store.
    When i send a message from outside the network i get the message in the mailbox store folder for the correct user.
    but the user is not getting the mail in there inbox. I looked at the users profile for email address and it is correct and then i double checked Outlook's settings and they are pointing to the right user.

    +
    0 Votes
    CG IT

    your going to have to provide more information than what you have.

    If this is in a domain environment running active directory

    or a stand alone exchange server with a stand alone DNS server.

    Exchange works seamlessly with Active Directory but it your not running AD, then there is a lot more configuration required including a lot of configuration in DNS.

    so we need more information.

    +
    0 Votes
    mmbc_voltron

    I do have AD? What things should I look for in AD?

  • +
    0 Votes
    CG IT

    if you open port 25 you have to specify by IP address where port 25 traffic goes. e.g. your exchange server.

    further, you have to have DNS direct traffic to your public IP address. It's not enough just to open port 25, you have to have a Domain Name Service that will answer queries that joeuser@yourdomain.com is your public IP address.

    Just read your other post, so here's how you do this.

    You domain registrar automatically assigns it's name servers to your domain name as authoritative name servers. That means that their name servers will resolve any internet whois queries. So to have queries go to your public address you have to specify your name server or use a 3rd party DNS service which will resolve queries to your static address[ they are usually used for dynamic addresses but they will work for static address and you don't have to worry about your DNS server. DNS servers are a hackers magnet].

    That's how you do it.

    +
    0 Votes
    Kjell_Andorsen

    If it's a typical Linksys router the gaming and apps page doesn't nescessarily open ports from a firewall perspective, instead it sets prt forwarding to those ports for NAT purposes. You also want to check the firewall section of your router and any software firewall you may have going. Are you able to telnet on port 25 from INSIDE the network? That would help determine if the Router is the problem.

    +
    0 Votes
    mmbc_voltron

    I did the telnet on the server

    telnet mail.domain.com 25
    500 5.3.3 Unrecognized command
    Does this mean I don't have exchange setup right?

    +
    0 Votes

    yep

    CG IT

    here's the MS KB on Telnet to exchange

    http://support.microsoft.com/kb/153119

    here's MS KB basic troubleshooting for Exchange SMTP service http://support.microsoft.com/kb/257265/

    +
    0 Votes
    mmbc_voltron

    I can't enable Diagnostic Logging.
    The options are greyed out.
    Never mind
    I got it enabled.

    +
    0 Votes
    mmbc_voltron

    I am using the telnet tests and when i do a EHLO mydomain.com I get an invaild address.
    but if i do a EHLO mail.mydomain.com I got a list of 250 with different things. But if i do it again i get invaild address. I closed the window and tried it again but same error. why could i do it one time but not another time?
    And when i do i get an invaild address when i do a MAIL FROM:name@mydomain.com
    same error inside the network or outside.

    +
    0 Votes

    Have you set up a a MX record for your domain.

    +
    0 Votes
    mmbc_voltron

    I setup an MX record at the hosting site that points to my IP. On my server i don't know what MX record to put.
    At the hosting site i added mail.mydomain.com = my ip
    on my server i though i needed one to point to my hosting company. mail.hosting.com
    is that correct?

    +
    0 Votes
    CG IT

    I think the problem is that you don't understand DNS and Name Servers.

    DNS just resolves names to addresses. the different records are just that name = address.

    What name servers do is send out a "whois" query. e.g hey! anyone know whois yourdomain.com?

    your DNS server or a DNS service that handles your domain name resolution has to respond Yes! yourdomain.com is ip address XXX.XXX.XXX.XXX. That XXX.XXX.XXX.XXX is your public IP address assigned to you by your ISP. Without that, nothing will find you.

    What most consumers don't know is that when they buy a domain name, the company they buy it from [the domain registar] assigns their DNS servers and name servers for your domain name. If you want to host your own, you have to change that either to use your own DNS server for your domain as a name server or use a DNS service.

    If you haven't changed name servers at your domain name registar [the company you bought the domain name from] or have them create DNS records that will say your public address is yourdomain.com no mail, or even web requests will ever find it's way to you.

    +
    0 Votes

    In your name server, you need a MX to point mail to your server.

    I use DNSMadeeasy and they have some basic info on DNS here:

    http://www.dnsmadeeasy.com/pages/dns.html

    +
    0 Votes

    SMTP is for outgoing mail. You might need to open 110 (pop) and 143 (imap) for incoming.

    +
    0 Votes

    ok

    mmbc_voltron

    it looks like exchange is receiving mail. it just isn't delivering to the outlook box.
    If i view the mailbox store and click on mailboxes i see all the messages that are suppose to be in each of the users inbox. When i go to Outlook on a WS the inbox is empty. the user is setup to connect to the exchange server. there address is in their user profile. I send a message from an external domain to the internal and the total items went up one. So there is mail in the exchange, it doesn't know how to deliver it to the user. correct?

    +
    0 Votes
    CG IT

    POP3 isn't SMTP

    IF his exchange server is setup as an SMTP mail server then it's not a POP3 server.

    SMTP is both incoming and outgoing where Exchange is the mail server.

    POP3 Exchange contacts the ISP POP3 server [or which ever mail service the mail goes to] and downloads the mail, then distributes the mail to users mail boxes.

    if you do not get the standard reply from Exchange using the telnet test, then Exchange is configured wrong.

    +
    0 Votes
    mmbc_voltron

    what about the mailbox store.
    When i send a message from outside the network i get the message in the mailbox store folder for the correct user.
    but the user is not getting the mail in there inbox. I looked at the users profile for email address and it is correct and then i double checked Outlook's settings and they are pointing to the right user.

    +
    0 Votes
    CG IT

    your going to have to provide more information than what you have.

    If this is in a domain environment running active directory

    or a stand alone exchange server with a stand alone DNS server.

    Exchange works seamlessly with Active Directory but it your not running AD, then there is a lot more configuration required including a lot of configuration in DNS.

    so we need more information.

    +
    0 Votes
    mmbc_voltron

    I do have AD? What things should I look for in AD?