Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Postfix on fedora how to start and config

Posted on 2004-10-23
5
Medium Priority
?
611 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
Comment
Question by:Nav444
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 140 total points
ID: 12390429
"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
ID: 12391498
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
ID: 12393212
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
ID: 12393293
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
ID: 12393351
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

636 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