Solved

how to setup mail system with post fix

Posted on 2004-10-24
176 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
Question by:Nav444
    2 Comments
     
    LVL 38

    Accepted Solution

    by:
    >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
    Thanks
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Lean Six Sigma Project Manager Certification

    There are many schools of thought around successful project management, but few as highly regarded as the Six Sigma and Lean methods. With 37 hours of learning, this training will explain concrete processes for increasing efficiency and limiting wasted time and effort.

    Suggested Solutions

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    913 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now