LinuxQuestions.org
Review your favorite Linux distribution.
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 08-02-2006, 12:47 AM   #1
Soul's Raider
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Help me! Sendmail problem?


I have a problem of sendmail
SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
 
Old 08-02-2006, 02:28 AM   #2
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Rep: Reputation: 30
chmod -R 755 /var/spool/clientmqueue
 
Old 08-02-2006, 03:36 AM   #3
Soul's Raider
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks you!

I got a warning in my system log saying "dangerous permissions on /var/spool/clientmqueue" so I looked at it and changed the permissions.

Now, sendmail is broke and no matter what I do to that folder, sendmail keeps giving me the same error:

can not chdir(/var/spool/clientmqueue/): Permission denied

Program mode requires special privileges, e.g., root or TrustedUser.

Heelp me!
 
Old 08-02-2006, 03:50 AM   #4
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Rep: Reputation: 30
Ok, let's try:

chmod -R 775 /var/spool/clientmqueue
chown -R root:mail /var/spool/clientmqueue

vi /etc/group

Make your user in mail group, e.g.:

mail::12:mail,your_user_here

Edit: I just took a look at mine and it can also be:

chmod -R 770 /var/spool/clientmqueue

Maybe it is more secure?

Edit2: You could also make it equal to mine:

chmod -R 770 /var/spool/clientmqueue
chown -R smmsp:smmsp /var/spool/clientmqueue

vi /etc/group

smmsp::25:smmsp,your_user_here

It is up to you!

Last edited by stevesk; 08-02-2006 at 04:00 AM.
 
  


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
sendmail problem in 10.2 z0mb1 Slackware 4 12-03-2005 07:05 PM
sendmail problem maginotjr Slackware 2 10-25-2005 04:25 PM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 11:08 AM
Sendmail problem gbj Linux - Networking 11 09-03-2003 02:09 PM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 06:00 PM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration