Sendmail 8.12.8 permissions
12 March 2003
I've just had a bugger of a time sorting out file permissions with Sendmail 8.12.8, having upgraded my local mail server from 8.11.6, which is surprisingly different. Here's a brief summary of the things I had to do to get it to work correctly. Note that this is in addition to what's in the documentation that comes with the source file.
- Add the option '-L sm-mta' to the init.d script for sendmail.
- Add user smmsp (uid 25) to /etc/passwd
- Add group smmsp (gid 25) to /etc/group
- Add user smmsp to group smmsp
- chown root.smmsp /usr/sbin/sendmail
- chown smmsp.smmsp /var/spool/clientmqueue
- change the file permissions of the following files and directories to what's shown here:
-r--r--r-- 1 root wheel 63862 Mar 4 16:43 /etc/mail/sendmail.cf
-r--r--r-- 1 root wheel 38840 Mar 12 09:33 /etc/mail/submit.cf
-r-xr-sr-x 1 root smmsp 576203 Mar 4 11:10 /usr/sbin/sendmail
drwxrwx--- 2 smmsp smmsp 4096 Mar 12 10:15 /var/spool/clientmqueue/
drwx------ 2 root wheel 4096 Mar 12 10:15 /var/spool/mqueue/