0

I have been trying to send emails throw Linux using

echo "hi abhijeet2" | mailx -v Admin [email protected]

Whic works fine on other linux system ,but not working my system. I have tried to troubleshoot it.When i do

service postfix status

It shows : master dead but pid file exists

I have tried many post suggested.But could't reslove this issue.

My mail log looks like :

Jul 14 09:38:02 postfix/postqueue[12757]: warning: Mail system is down -- accessing queue directly fatal: the Postfix mail system is not running Jul 14 10:03:33 postfix/postfix-script[13969]: warning: not owned by postfix: /var/lib/postfix/./master.lock Jul 14 10:03:33 postfix/postfix-script[13982]: starting the Postfix mail system Jul 14 10:03:33 postfix/master[13983]: fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied Jul 14 10:04:10 postfix/postqueue[14015]: fatal: Cannot flush mail queue - mail system is down Jul 14 10:20:48 postfix/postqueue[14549]: warning: Mail system is down -- accessing queue directly

Any help will be appreciated.

1 Answer 1

0

I have resolved this issue by using :

chown postfix.postfix -R /var/lib/postfix

2
  • @DanielYCLin : I have accepted :)
    – abhijeet
    Jul 31, 2014 at 2:32
  • To let it clear, maybe it is better to describe your OS. Check cat /etc/*release Jul 31, 2014 at 3:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .