[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sendmail lacks priviliges after upgrade?



I read that sendmail no longer uses setuid in 3.0. Is this what is
causing my problem, logged below?

  [ rb@monitor:~ ] $ cat /etc/motd | sendmail rb
  WARNING: RunAsGid for MSP ignored, check group ids (egid=1000, want=25)
  can not chdir(/var/spool/clientmqueue/): Permission denied
  Program mode requires special privileges, e.g., root or TrustedUser.

Also, a message is written to /var/log/maillog:
Mar 15 01:16:39 monitor sendmail[27776]: NOQUEUE: SYSERR(rb): can not
chdir(/var/spool/clientmqueue/): Permission denied

What is causing this?

Here are some info that might help you help me :-)

# grep smmsp /etc/group /etc/passwd
/etc/group:smmsp:*:25:
/etc/passwd:smmsp:*:25:25:Sendmail Message Submission
Program:/nonexistent:/sbin/nologin

# ls -ld /var/spool/mqueue/ /var/spool/clientmqueue/
drwxrwx---  2 smmsp  smmsp  512 Oct 18 22:24 /var/spool/clientmqueue/
drwx------  2 root   wheel  512 Oct 18 22:24 /var/spool/mqueue/

#crontab -l
[...]
# sendmail clientmqueue runner
*/30    *       *       *       *       /usr/sbin/sendmail -L sm-msp-queue
-Ac -q

-- 

Rickard

                                               .--.        .--.
.----------------------------------------.     |  |        |  | .-.
|           Rickard Borgmäster           |     |  |        |  |/  /
|             doktorn@sub.nu             |   .-^  |  .--.  |     <
|         http://doktorn.sub.nu/         |  (  o  | ( () ) |  |\  \
`----------------------------------------'  `-----'  `--'  `--' `--'