Nav444
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
ASKER
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
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
ASKER
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
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
alternatives --set mta /usr/sbin/sendmail.postfix
follow owensleftfoot to make sure the postfix service starts on reboot and is started now.