how to setup mail system with post fix

Hi,
I installed Fedora Core, [linux 2.4.22-1] with graphic Gnum and many of applications it provides at install time.

I could make postfix running, but I can't access the port.

my setup is like this.
a linksys router connects two computers to internet. One computer is XP and other one is the Linux server.

so on my small LAN, I can ssh to Linux from XP, but I can't telnet to it.
For ssh I use 192.168.1.101 and it works.
For telnet, telnet 192.168.1.101 smtp
or telnet 192.168.1.101 25
and I get error message, "can not open connection to the host on port 25."

I set the router to allow ports 25, 110 and 23.

I stopped iptables, not sure if that was the reason !!

Even I set up outlookexpress to access the stmp and pop3 and it give this error:
The connection to the server has failed. Account: '192.168.1.101', Server: ''192.168.1.101', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E
I wonder what I am missing! please help.

And other problem I have is, I changed the hostname to different name in /etc/sysconfig/network and after reboot, httpd and postfix did not start. so I had to change the host name back to localhost.localdomain !
how can I fix this?

thanks
Nav444Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wesly_chenCommented:
>And other problem I have is, I changed the hostname to different name in /etc/sysconfig/network and after reboot, httpd and postfix did not start. >so I had to change the host name back to localhost.localdomain !
When you change the hostname of your machine, you need to change the httpd.conf and postfix setting to make those daemon recognize the FQDN.
By the way, please use redhat-config-network to change the host name and edit /etc/hosts to reflect the change.

For port 25, please check postfix documentation to make sure postfix is listening the port 25.

Regards,

Wesly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nav444Author Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.