LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-01-2006, 11:47 PM   #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, 01: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, 02: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, 02: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 03:00 AM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 PM.

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
Open Source Consulting | Domain Registration