Sendmail and mail fails for non-root user with error

Solution Unverified - Updated -

Issue

  • Sendmail fails for not root user
  • Command:
mail someuser@example.com
  • Gives this Error
WARNING: runasuser for testuser ignored, (egid=0, want=51) can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=51): Permission denied
  • ls -l /usr/sbin/sendmail.sendmail shows
rwxr-sr-x  1 root root 757168 Apr 15  2008 /usr/sbin/sendmail.sendmail 

Environment

  • Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
  • sendmail-8.13.1-3.3.el4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content