PDA

View Full Version : Doesnt connect to the postfix mail server!!


Kinetic
22nd December 2005, 22:03
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

falko
22nd December 2005, 23:46
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 netstat -tap?
What's in /var/log/mail.log?

Kinetic
23rd December 2005, 00:46
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

falko
23rd December 2005, 11:09
How can i have a web server, and a mail server with a free dyndns account?
that will be the question........thanks
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.

Kinetic
23rd December 2005, 23:43
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

falko
24th December 2005, 14:05
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?

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.

there are two options in the modifying link...
"Enable Wildcard" -> i cant understand why its this for
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.

"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?

Would be sergio.ath.cx.

Kinetic
24th December 2005, 20:52
Thank you very very much!!

and, of course....Frohe Weihnachten!

falko
25th December 2005, 14:57
and, of course....Frohe Weihnachten!
Feliz novidad! :)