sendmail error: can not chdir(/var/spool/mqueue/): Permission denied

Error: 
can not chdir(/var/spool/mqueue/): Permission denied

This is because your /var/spool/mqueue directory has a mode of drwx------.
Type chmod 755 /var/spool/mqueue as root to fix this problem.


# ls -l /usr/sbin/sendmail.sendmail
-r-xr-sr-x root smmsp /usr/sbin/sendmail.sendmail

# ls -l /var/spool
drwxrwx--- smmsp smmsp /var/spool/clientmqueue
If your permissions are mis-matched, you can modify them by doing the following:

Raw
# chown root.smmsp /usr/sbin/sendmail.sendmail
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

2 comments:

  1. thank you. fixed the problem using chmod 755 /var/spool/mqueue

    ReplyDelete
  2. I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
    Moreover to recover the lost file from Linux Click on:
    android data recovery review
    launch android data recovery
    backup and restore android apps and data
    android backup app data
    recover lost files
    diskdigger pro file recovery


    ReplyDelete