Solved

Sendmail with permission denied errors

Posted on 2007-04-02
1
1,198 Views
Last Modified: 2013-12-17
Running Sendmail 8.13 with something called Scalix as the graphical front end, if you will.

Anyway, when I
tail -f /var/log/maillog

I get this:

Apr  2 15:18:18 qmail sendmail[7742]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied

So we are not getting any mail right now.

Trying to restart sendmail gives me this:

Shutting down sendmail:                                    [  OK  ]
Shutting down sm-client:                                   [FAILED]
Starting sendmail:                                         [  OK  ]
Starting sm-client: can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
                                                           [FAILED]


Please help!!!
0
Comment
Question by:dougp23
1 Comment
 
LVL 14

Accepted Solution

by:
kenfcamp earned 500 total points
ID: 18844999
it's definatley a permissions error.

from a console run:

ls -l /usr/sbin/sendmail

what are the user and group ids for the file


next run ls -l /var/spool

what is the user and group for clientmqueue

0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This short article will present "How to import ICS Calendar onto Office 365 Calendar". I was searching for free (or not free) tools to convert ICS to CSV without success. The only tools I found & working well were online tools...this was too hard to…
Automapping, a wonderful feature with Exchange 2010 (SP2 onwards I believe), allows additional/Shared mailboxes that a user has access to be automatically mapped on Outlook client, simplifying the process by adding them while Outlook launches. Ho…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question