Doesnt connect to the postfix mail server!!

Discussion in 'HOWTO-Related Questions' started by Kinetic, Dec 22, 2005.

  1. Kinetic

    Kinetic New Member

    Hi!, Im super noobie in GNU/Linux.. and i've ubuntu 5.10. I was following this howto... http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p4, i did all the steps..

    in the step...
    "To see if SMTP-AUTH and TLS work properly now run the following command:
    telnet localhost 25"

    i get this...:confused:

    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    Connection closed by foreign host.

    why?:( ,.. and how i fix that
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's your hostname? What's in /etc/postfix/main.cf as myhostname and mydomain?
    Do they exist in DNS?
    What's the output of
    Code:
    netstat -tap
    ?
    What's in /var/log/mail.log?
     
  3. Kinetic

    Kinetic New Member

    ok...

    lets say i tried to do it with my dyndns acount.

    i have an account (p.e : account.ath.cx), cause i have a web server running.
    i thought that myhostname.account.ath.cx will be ok..
    and im begining to think im wrong.. like always.

    How can i have a web server, and a mail server with a free dyndns account?
    that will be the question........thanks
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Simply register account.ath.cx at DynDNS.org, and use it on yyour server.
    I recommend to also create an MX record for account.ath.cx if you want to receive emails for <user>@account.ath.cx.
     
  5. Kinetic

    Kinetic New Member

    please explain me

    i have a dyndns account... but i don know how set up the mail server and a web server at the same time?..
    i mean i choose a subdomain name .. example sergio.ath.cx.
    thats the domain name that points to my dynamic ip.
    but how do i point to my mail server if sergio.ath.cx its the web server?

    there are two options in the modifying link...
    "Enable Wildcard" -> i cant understand why its this for

    "Mail Exchanger" (optional) -> i think this is for mail servers but i dont know what im supossed to put in.... hostname.sergio.ath.cx? or anotherthing.ath.cx, or what?

    that will be my question (excuse my awful english):p
     
  6. falko

    falko Super Moderator ISPConfig Developer

    I guess you're thinking of a web server and a mail server as two different physical machines. This is not true. In fact, a web server and mail server are software packages that can run on the same hardware and IP address. So sergio.ath.cx can be a web- and mail server at the same time.

    I guess it's a wildcard, so that any subdomain of sergio.ath.cx, e.g. anything.sergio.ath.cx would point to the IP address you specify there.

    Would be sergio.ath.cx.
     
  7. Kinetic

    Kinetic New Member

    OK now i get it.

    Thank you very very much!!

    and, of course....Frohe Weihnachten!
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Feliz novidad! :)
     

Share This Page