Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: ubuntu sendmail not working

  1. #11
    Join Date
    Sep 2015
    Beans
    11

    Re: ubuntu sendmail not working

    Quote Originally Posted by MAFoElffen View Post
    Stop... Back up a step.

    Who and what is at IP 178.239.178.51? What I assumed by your first post was that 178.239.178.51 was your own machine's IP address, but now suspect that that is a a server on another network, outside of your own, right? Because your local network ID is 10.0.0.0... which you would go through a gateway (thru a router) to outside of that. Any domain outside of your own local network would not be in your hosts file, but rather get it's name from a nameserver (dns). That is where those domains would get their name/ip mappings.

    So instead of, what I thought you where trying to query your own IP, from the outside (not from localhost), you were trying to connect to an external server?

    The hosts file is usually for mapping servers IPs/ServerNames on your own local network, if you do not have a local dns server on your own local network.

    If the machine that owns the public address of 178.239.178.51 is on one of your own networks, then there should be a router or route between that and your own local network. Whether yours or not... Can you post the results of
    Code:
    ping -c 4 178.239.178.51
    traceroute 178.239.178.51
    nslookup -query=mx fanta-trade.eu
    nslookup -query=mx geowar.eu
    nslookup -query=mx grimaldi-web.com
    nslookup -query=mx myonpa.com
    nslookup should return the ip address of a domain. The query mx option queries all mail servers of that domain...

    EDIT-- See attachments... This is what I see with those commands (attached)

    I see all those domains mapped to IP address 178.239.178.51. I see ports 10 and 20 open on them with an mx query. I do not see port 25 open on any of them. So is 178.239.178.51 yours?

    Since I can see that from the US, from one of my machines, which just happanes to be one of my DC'es/DNS'es... you should not have to map them in your hosts files, because they are already mapped in external DNS servers.

    What I see open on those domains is sSmtp mail service, which is both ports 10 and 20. Why are you not trying to use sSmtp to send mail to them? That is what they are using...
    mmm sorry man... for me i hard to follow you... i'm not a IT guy and...
    your point at the end is that i should chage etc/hosts?
    thanks a lot for your help your really putting your head on it

  2. #12
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    12,981
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: ubuntu sendmail not working

    See if you can connect to my mail server:
    Code:
    telnet 50.116.11.117 25
    I do only limited filtering at the doorstep, and nothing that would affect your ability to connect.

    If that works, try:
    Code:
    telnet gmail-smtp-in.l.google.com 25
    Does that work, too, but you still cannot connect to mx3.hotmail.com?

    The problem lies either at your end or at the receiving server's end. I'm trying to figure out which it is. The fact that you can connect successfully to remote server's port 80 rules out some possibilities like a misconfigured firewall that didn't accept reply packets. So now we're left with the mystery of why you cannot connect to port 25 on remotes.
    Last edited by SeijiSensei; September 19th, 2015 at 03:25 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #13
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ubuntu sendmail not working

    Sorry, I am a Cisco network guy, among other things. I'll target the explanation a bit more basic.

    Yes, remove all the extras (fanta-trade.eu, geowar.eu, grimaldi-web.com, myonpa.com) from your hosts file. The domains you put in there are not needed. They are externally listed by public (internet) DNS servers already, so need for you to list them again.

    Next, none of those domains (fanta-trade.eu, geowar.eu, grimaldi-web.com, myonpa.com) have port 25 open. So you not being able to connect to them... is actually correct. They are using port 10 and 20 for their mail services. In fact, what you posted. If I can't connect to them on port 25, then you are not going to be able to connect to those either. They just don't seem to have port 25 open on them...

    I can connect with Telnet to what SeijiSensei posted (gmail-smtp-in.l.google.com port 25 and 50.116.11.117 port 25) and to mx3.hotmail.com port 25)...

    So I agree with SeijiSensei in his thought that you are possibly having a problem connecting to port 25 on remotes. Either on your end... or through your ISP.
    Last edited by MAFoElffen; September 20th, 2015 at 07:08 AM.
    Concurrent coexistance of Windows, Linux and Unix...
    Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot

  4. #14
    Join Date
    Sep 2015
    Beans
    11

    Re: ubuntu sendmail not working

    Quote Originally Posted by SeijiSensei View Post
    See if you can connect to my mail server:
    Code:
    telnet 50.116.11.117 25
    I do only limited filtering at the doorstep, and nothing that would affect your ability to connect.

    If that works, try:
    Code:
    telnet gmail-smtp-in.l.google.com 25
    Does that work, too, but you still cannot connect to mx3.hotmail.com?

    The problem lies either at your end or at the receiving server's end. I'm trying to figure out which it is. The fact that you can connect successfully to remote server's port 80 rules out some possibilities like a misconfigured firewall that didn't accept reply packets. So now we're left with the mystery of why you cannot connect to port 25 on remotes.


    Code:
    telnet 50.116.11.117 25
    not working

    i tried to disable the firewall but nothing

    isp is swearing they do not enable or disable anythign on network


    Last edited by illinois2; September 20th, 2015 at 10:58 AM.

  5. #15
    Join Date
    Sep 2015
    Beans
    11

    Re: ubuntu sendmail not working

    i cancelld

    178.239.178.51 blueserver.fanta-trade.eu blueserver
    178.239.178.51 blueserver.geowar.eu blueserver
    178.239.178.51 blueserver.grimaldi-web.com blueserver
    178.239.178.51 blueserver.myonpa.com blueserver

    from hosts file...

    it has sent some mail and than it has stopped again...

  6. #16
    Join Date
    Sep 2015
    Beans
    11

    Re: ubuntu sendmail not working

    hosts... like this... it workssssss!


    Code:
    127.0.0.1 blueserver.localdomain blueserver localdev localhost
    10.1.1.55	ubuntu
    178.239.178.51 fanta-trade.eu geowar.eu grimaldi-web.com myonpa.com blueserver

  7. #17
    Join Date
    Sep 2015
    Beans
    11

    Re: ubuntu sendmail not working

    it stopped working again

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •