"RunAsGid for MSP ignored" error

When sending mail through Sendmail's mail user agent or another mail user agent (ex. mutt), I received the following error:

WARNING: RunAsGid for MSP ignored, check group ids (egid=8809, want=1)
can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=8809): Permission denied

If you are running Sendmail 8.12.x, make sure you are using the following permissions as defined in sendmail/SECURITY:

-r-xr-sr-x root smmsp ... /PATH/TO/sendmail
drwxrwx--- smmsp smmsp ... /var/spool/clientmqueue
drwx------ root wheel ... /var/spool/mqueue
-r--r--r-- root wheel ... /etc/mail/sendmail.cf
-r--r--r-- root wheel ... /etc/mail/submit.cf

In my case, I had the Sendmail file and directory permissions configured correctly, but did not have the smmsp user's group ID configured correctly:

$ grep smmsp /etc/passwd /etc/group

Changing the smmsp user's group ID to 8809 solved the problem:

# usermod -g 8809 smmsp

Back to brandonhutchinson.com.

Last modified: 01/16/2003