?
Solved

how to setup mail system with post fix

Posted on 2004-10-24
2
Medium Priority
?
212 Views
Last Modified: 2013-12-15
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
0
Comment
Question by:Nav444
2 Comments
 
LVL 38

Accepted Solution

by:
wesly_chen earned 140 total points
ID: 12397069
>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
 

Author Comment

by:Nav444
ID: 13536614
Thanks
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month6 days, 14 hours left to enroll

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question