Solved

Postfix on fedora how to start and config

Posted on 2004-10-23
571 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.

So I also selected postfix at install time.
But it seems postfix is not running, but I could see some of its files at /etc/postfix.

I tried postfix reload, it say it is not running.

How can I make it run? do I need a fresh installation?
and on more quesion: I do most of my configuration in text mode. is it good to have gnum and xwindow or not? some one said they are not secure!

Thanks
Nav
0
Question by:Nav444
    5 Comments
     
    LVL 17

    Accepted Solution

    by:
    "chkconfig postfix on" followed by "service postfix start" should start it. If it doesnt, look at /var/log/maillog. As for xwindows & gnome, they are secure enough but take up memory.
    0
     

    Expert Comment

    by:aimhigh
    You most likely install Sendmail as well and your defualt MTA is sendmail. You can change your MTA to postfix with the following command:

    alternatives --set mta /usr/sbin/sendmail.postfix

    follow owensleftfoot to make sure the postfix service starts on reboot and is started now.
    0
     

    Author Comment

    by:Nav444
    thank guys, I tired all the commands you gave, but it still seems that it is not running,

    I did this,

    [root@localhost root]# chkconfig postfix on
    [root@localhost root]# service postfix start
    Starting postfix: postalias: warning: removing zero-length database file: /etc/postfix/aliases.db
                                                               [  OK  ]
    [root@localhost root]# postfix reload
    postfix/postfix-script: fatal: the Postfix mail system is not running
    [root@localhost root]# set mta /usr/sbin/sendmail.postfix
    [root@localhost root]# service postfix start
    Starting postfix:                                          [  OK  ]
    [root@localhost root]# postfix reload
    postfix/postfix-script: fatal: the Postfix mail system is not running
    [root@localhost root]# service postfix start
    Starting postfix:                                          [  OK  ]
    [root@localhost root]# service postfix stop
    Shutting down postfix:                                     [FAILED]
    [root@localhost root]#

    I have a question, if I do not setup the main.cf properly, does postfix runs at all or not?

    Thanks
    0
     

    Author Comment

    by:Nav444
    by the way, this is what maillog says, it seems other system is using port 25, how to stop it?

    Oct 24 10:10:40 localhost postfix/postfix-script: starting the Postfix mail system
    Oct 24 10:10:40 localhost postfix/master[7580]: fatal: bind 127.0.0.1 port 25: Address already in use
    Oct 24 10:10:53 localhost postfix/postfix-script: fatal: the Postfix mail system is not running
    Oct 24 10:11:35 localhost postfix/postfix-script: starting the Postfix mail system
    Oct 24 10:11:35 localhost postfix/master[7638]: fatal: bind 127.0.0.1 port 25: Address already in use
    Oct 24 10:11:52 localhost postfix/postfix-script: fatal: the Postfix mail system is not running
    Oct 24 10:11:58 localhost postfix/postfix-script: starting the Postfix mail system
    Oct 24 10:11:58 localhost postfix/master[7696]: fatal: bind 127.0.0.1 port 25: Address already in use
    Oct 24 10:12:02 localhost postfix/postfix-script: fatal: the Postfix mail system is not running


    0
     

    Author Comment

    by:Nav444
    okay great, thanks Guys,
    I just stoped send mail and then tried
    service postfix start
    and it worked.

    Thank you very much.

    So I guess I did not understand one thing very well. I was thinking, Postfix works with help of sendmail !! and I was wrong.

    Thanks
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    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 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.:

    877 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

    13 Experts available now in Live!

    Get 1:1 Help Now