LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-31-2010, 11:28 PM   #1
annaabhi
LQ Newbie
 
Registered: Jun 2009
Location: Nepal
Posts: 19

Rep: Reputation: 0
postfix status ;master is stopped


when i run the postfix,it says failed.
service postfix status
master is stopped

i have configured the
main.cf file.Can anyone tell what this error means?

Thanks
annaabhi

Last edited by annaabhi; 07-31-2010 at 11:53 PM.
 
Old 07-31-2010, 11:35 PM   #2
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, BT5, Slackware 12.0
Posts: 207

Rep: Reputation: 29
check your maillog and messages log. Probably you have misconfigured main.cf. Also do you have any other mail servers running? ps -e | grep sendmail
 
Old 08-01-2010, 12:18 AM   #3
annaabhi
LQ Newbie
 
Registered: Jun 2009
Location: Nepal
Posts: 19

Original Poster
Rep: Reputation: 0
postfix status ;master is stopped

thanks for ur reply.
The sendmail is stopped.
the message that gives when i run /var/log/messages is:
setroubleshoot: SELinux is preventing master (postfix_master_t) "read write" to ./master.pid (var_run_t). For complete SELinux messages. run sealert -l b57ae94f-5748-4b03-a6d3-9203388a33e0
the message that i receive when i run /var/log/maillog is;

postfix/postfix-script[2169]: fatal: the Postfix mail system is already running

my main.cf that i have configured are like this;
myorigin = $mydomain
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = subnet
mynetworks_style = host
mynetworks = 192.168.10.0/24 ,127.0.0.0/8
home_mailbox = Maildir/
sendmail_path = /usr/sbin/sendmail.postfix
 
Old 08-01-2010, 11:25 AM   #4
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, BT5, Slackware 12.0
Posts: 207

Rep: Reputation: 29
myorigin = $mydomain

You have set $mydomain right? and the other variables?

part of my main.cf is like so:

mydomain = tomyn.com
myorigin = $mydomain

so my origin would be set as tomyn.com.

If you copy/paste sealert -l b57ae94f-5748-4b03-a6d3-9203388a33e0 into console as in your selinux error you get more information on why the selinux policy is preventing access and possible solution.

Lastly, in your main.cf, what do you have set for 'mail_owner'?

ps, which distro?
 
Old 08-02-2010, 12:52 AM   #5
annaabhi
LQ Newbie
 
Registered: Jun 2009
Location: Nepal
Posts: 19

Original Poster
Rep: Reputation: 0
Smile

thanks for the reply.
I just disabled the selinux conf,the postfix started running.But later
when i again enabled,its still running.
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
confusing with postfix master.cf file nilhere Linux - Newbie 0 07-31-2009 04:31 AM
Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 Chiragrs Linux - Networking 7 05-16-2008 01:42 AM
Printer fails to print: foomatic-rip stopped with status 1! robbyx Linux - Hardware 1 12-15-2006 04:38 AM
Samba name server xx has stopped being a local master browser for workgroup xx saavik Linux - Networking 1 06-14-2004 08:25 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 07:33 PM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration