Package: sendmail Severity: important
After upgrading earlier today, sendmail is getting errors Sep 11 08:02:44 betty sendmail[26207]: NOQUEUE: SYSERR(ptb): can not write to queue directory /var/spool/mqueue-client/ (RunAsGid=0, required=8): Permission denied The queue is drwxrws--- 2 smmsp smmsp 4096 Sep 11 07:49 /var/spool/mqueue-client/ (yeah, I'll make it 777 so that I can send this!) and from /etc/group: root:*:0: ... mail:*:8:smmta,smmsp ... smmta:x:108:mail smmsp:x:109:mail and it was me that added smmta,smmsp to the mail group in an attempt to make things better, and I added mail to the smmta group too. I restarted sendmail too so that it could see the change. From sendmail.cf, I see: /etc/mail/sendmail.cf:#O RunAsUser=sendmail /etc/mail/sendmail.cf.old:#O RunAsUser=sendmail /etc/mail/submit.cf:O RunAsUser=smmsp /etc/mail/submit.cf.old:O RunAsUser=smmsp so it looks like that may be influencing things. Passwd says mail:*:8:8:mail:/var/mail:/bin/sh smmta:!:106:108:Mail Transfer Agent,,,:/var/lib/sendmail:/bin/false smmsp:!:107:109:Mail Submission Program,,,:/var/lib/sendmail:/bin/false and I don't see ANY user called "sendmail". psaux says the daemons are running as root. -- Package-specific info: Ouput of /usr/share/bug/sendmail/script: ls -alR /etc/mail: /etc/mail: total 327 drwxr-sr-x 7 smmta smmsp 1024 Sep 11 08:08 . drwxr-xr-x 149 root root 7168 Sep 11 06:24 .. -rwxr-xr-- 1 root smmsp 11143 Sep 10 18:01 Makefile -rw------- 1 root root 4211 Aug 12 23:56 access -rw-r----- 1 smmta smmsp 12288 Aug 12 23:56 access.db -rw-r--r-- 1 root root 281 Sep 1 2006 address.resolve -rw-r--r-- 1 root root 281 Aug 18 06:05 address.resolve.dpkg-new lrwxrwxrwx 1 root smmsp 10 Oct 7 2006 aliases -> ../aliases -rw-r----- 1 smmta smmsp 12288 Aug 12 23:56 aliases.db -rw------- 1 root smmsp 228 Dec 22 2006 authinfo -rw-r----- 1 smmta smmsp 12288 Aug 12 23:56 authinfo.db -rw-r--r-- 1 root smmsp 3574 Sep 10 18:01 databases -rw-r----- 1 smmta smmsp 48 Oct 10 2006 default-auth-info -rw-r--r-- 1 root root 5657 Jul 30 00:13 helpfile -rw-r--r-- 1 root root 5657 Aug 18 11:31 helpfile.dpkg-new -rw-r--r-- 1 root smmsp 27 Oct 7 2006 local-host-names drwxr-sr-x 2 smmta smmsp 1024 Oct 7 2006 m4 drwxr-xr-x 2 root root 1024 Sep 10 22:35 peers drwxr-xr-x 2 smmta smmsp 1024 Oct 10 2006 sasl -rw-r--r-- 1 root smmsp 66117 Sep 10 18:01 sendmail.cf -rw-r--r-- 1 root root 65845 Aug 12 23:56 sendmail.cf.old -rw-r--r-- 1 root root 11882 Aug 12 23:56 sendmail.conf -rw-r--r-- 1 root smmsp 4918 Aug 12 23:56 sendmail.mc -rw-r--r-- 1 root root 149 Sep 1 2006 service.switch -rw-r--r-- 1 root root 180 Sep 1 2006 service.switch-nodns -rw-r--r-- 1 root root 180 Aug 18 06:05 service.switch-nodns.dpkg-new -rw-r--r-- 1 root root 149 Aug 18 06:05 service.switch.dpkg-new drwxr-sr-x 2 smmta smmsp 1024 Dec 22 2006 smrsh -rw-r--r-- 1 root smmsp 44154 Aug 12 23:56 submit.cf -rw-r--r-- 1 root root 43883 Aug 12 23:56 submit.cf.old -rw-r--r-- 1 root smmsp 2325 Aug 12 23:56 submit.mc drwxr-xr-x 2 smmta smmsp 1024 Oct 10 2006 tls -rw-r--r-- 1 root smmsp 0 Oct 7 2006 trusted-users /etc/mail/m4: total 3 drwxr-sr-x 2 smmta smmsp 1024 Oct 7 2006 . drwxr-sr-x 7 smmta smmsp 1024 Sep 11 08:08 .. -rw-r----- 1 root smmsp 689 Sep 10 18:01 dialup.m4 -rw-r----- 1 root smmsp 0 Oct 7 2006 provider.m4 /etc/mail/peers: total 4 drwxr-xr-x 2 root root 1024 Sep 10 22:35 . drwxr-sr-x 7 smmta smmsp 1024 Sep 11 08:08 .. -rw-r--r-- 1 root root 328 Sep 1 2006 provider -rw-r--r-- 1 root root 328 Aug 18 06:05 provider.dpkg-new /etc/mail/sasl: total 7 drwxr-xr-x 2 smmta smmsp 1024 Oct 10 2006 . drwxr-sr-x 7 smmta smmsp 1024 Sep 11 08:08 .. -rw-r----- 1 smmta smmsp 743 Oct 10 2006 Sendmail.conf.2 -rwxr--r-- 1 root root 3674 Aug 12 23:56 sasl.m4 /etc/mail/smrsh: total 2 drwxr-sr-x 2 smmta smmsp 1024 Dec 22 2006 . drwxr-sr-x 7 smmta smmsp 1024 Sep 11 08:08 .. lrwxrwxrwx 1 root smmsp 16 Dec 22 2006 deliver -> /usr/bin/deliver lrwxrwxrwx 1 root smmsp 26 Oct 7 2006 mail.local -> /usr/lib/sm.bin/mail.local lrwxrwxrwx 1 root smmsp 17 Dec 22 2006 maildrop -> /usr/bin/maildrop lrwxrwxrwx 1 root smmsp 17 Dec 22 2006 procmail -> /usr/bin/procmail /etc/mail/tls: total 19 drwxr-xr-x 2 smmta smmsp 1024 Oct 10 2006 . drwxr-sr-x 7 smmta smmsp 1024 Sep 11 08:08 .. -rw-r--r-- 1 root root 7 Oct 10 2006 no_prompt -rw------- 1 root root 1191 Oct 10 2006 sendmail-client.cfg -rw-r--r-- 1 root smmsp 1237 Oct 10 2006 sendmail-client.crt -rw------- 1 root root 1017 Oct 10 2006 sendmail-client.csr -rw-r----- 1 root smmsp 1679 Oct 10 2006 sendmail-common.key -rw------- 1 root root 0 Oct 10 2006 sendmail-common.prm -rw------- 1 root root 1191 Oct 10 2006 sendmail-server.cfg -rw-r--r-- 1 root smmsp 1237 Oct 10 2006 sendmail-server.crt -rw------- 1 root root 1017 Oct 10 2006 sendmail-server.csr -rwxr--r-- 1 root root 3143 Aug 12 23:56 starttls.m4 sendmail.conf: DAEMON_NETMODE="Dynamic"; DAEMON_NETIF="eth0"; DAEMON_MODE="Daemon"; DAEMON_PARMS=""; DAEMON_HOSTSTATS="No"; DAEMON_MAILSTATS="No"; QUEUE_MODE="Daemon"; QUEUE_INTERVAL="10m"; QUEUE_PARMS="-v"; MSP_MODE="Cron"; MSP_INTERVAL="20m"; MSP_PARMS=""; MSP_MAILSTATS="${DAEMON_MAILSTATS}"; MISC_PARMS=""; CRON_MAILTO="root"; CRON_PARMS=""; LOG_CMDS="No"; HANDS_OFF="No"; AGE_DATA=""; DAEMON_RUNASUSER="No"; DAEMON_STATS="${DAEMON_MAILSTATS}"; MSP_STATS="${MSP_MAILSTATS}"; sendmail.mc: divert(-1)dnl divert(0)dnl define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`$Id: sendmail.mc, v 8.13.8-2 2006-09-01 05:10:48 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS= FEATURE(`no_default_msa')dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, Addr=127.0.0.1')dnl define(`confPRIVACY_FLAGS',dnl `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl define(`confCONNECTION_RATE_THROTTLE', `15')dnl define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl FEATURE(`access_db', , `skip')dnl FEATURE(`greet_pause', `1000')dnl 1 seconds FEATURE(`delay_checks', `friend', `n')dnl define(`confBAD_RCPT_THROTTLE',`3')dnl FEATURE(`conncontrol', `nodelay', `terminate')dnl FEATURE(`ratecontrol', `nodelay', `terminate')dnl include(`/etc/mail/m4/dialup.m4')dnl include(`/etc/mail/m4/provider.m4')dnl define(`SMART_HOST', `relay:smtpx.linuxmail.org')dnl define(`confRELAY_MAILER', `esmtp')dnl - will RELAY out via esmtp define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl - RELAY mailer uses port 587 FEATURE(`authinfo',`hash -o /etc/mail/authinfo')dnl FEATURE(`always_add_domain')dnl MASQUERADE_AS(`inv.it.uc3m.es')dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(`nouucp', `reject')dnl include(`/etc/mail/sasl/sasl.m4')dnl MAILER_DEFINITIONS MAILER(`local')dnl MAILER(`pop')dnl MAILER(`procmail')dnl MAILER(`smtp')dnl submit.mc... divert(-1)dnl divert(0)dnl define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`$Id: submit.mc, v 8.13.8-2 2006-09-01 05:10:48 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-msp')dnl FEATURE(`msp', `[127.0.0.1]', `MSA')dnl include(`/etc/mail/sasl/sasl.m4')dnl -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.15.3 (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/bash Versions of packages sensible-mda depends on: ii deliver 2.1.14-4 Local mail delivery agent ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii maildrop 2.0.3-1 mail delivery agent with filtering ii procmail 3.22-16 Versatile e-mail processor pn sendmail-bin | mail-transport <none> (no description available) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]