LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me! Sendmail problem? (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-sendmail-problem-469946/)

Soul's Raider 08-01-2006 11:47 PM

Help me! Sendmail problem?
 
I have a problem of sendmail
SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied

stevesk 08-02-2006 01:28 AM

chmod -R 755 /var/spool/clientmqueue

Soul's Raider 08-02-2006 02:36 AM

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! :cry:

stevesk 08-02-2006 02:50 AM

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! ;)


All times are GMT -5. The time now is 10:49 AM.