Postfix on fedora how to start and config

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
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.

owensleftfootCommented:
"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

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
aimhighCommented:
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
Nav444Author Commented:
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
Nav444Author Commented:
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
Nav444Author Commented:
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
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.