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..., 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:

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

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

    falko Super Moderator Howtoforge Staff

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

    Kinetic New Member


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

    i have an account (p.e :, cause i have a web server running.
    i thought that 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 Howtoforge Staff

    Simply register at, and use it on yyour server.
    I recommend to also create an MX record for if you want to receive emails for <user>
  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
    thats the domain name that points to my dynamic ip.
    but how do i point to my mail server if 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.... or, or what?

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

    falko Super Moderator Howtoforge Staff

    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 can be a web- and mail server at the same time.

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

    Would be
  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 Howtoforge Staff

    Feliz novidad! :)

Share This Page