Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53358 - Sendmail: Incorrect permissions on /var/spool/clientmqueue
Summary: Sendmail: Incorrect permissions on /var/spool/clientmqueue
Status: RESOLVED DUPLICATE of bug 38705
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 15:36 UTC by Robert S
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert S 2004-06-08 15:36:12 UTC
When sendmail starts, it can't write to /var/spool/clientmqueue because of incorrect permissions.  It can be fixed by changing permissions of this directory to smmsp:smmsp and chmod 770.

This has been reported a long time ago, but has not been fixed.

Maybe somebody can tell me how to fix this so I don't need to bother people with these questions!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2004-06-09 05:02:06 UTC
Which sendmail ebuild did you emerge?

Also, please paste the results of "emerge info".
Comment 2 Robert S 2004-06-14 04:40:04 UTC
Here is the output of "emerge info"

Also - the owner of /usr/sbin/sendmail is set incorrectly as root:root - it should be root:smmsp (as set out in the security docs).  Without this change, procmail gives error messages when forwarding messages to other addresses (and probably a lot of other awful things may happen).

Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo
-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 12
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/confi
g /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 apm arts avi berkdb cdr crypt cups encode esd foomatic
db gd gd-external gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib jpeg kde libg++
 libwww mad mbox mikmod milter motif mpeg multilib mysql ncurses nls nogcj oggvo
rbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang
 spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
Comment 3 Cory Visi (RETIRED) gentoo-dev 2004-06-14 17:34:09 UTC
This is a duplicate of Bug 38705.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-14 21:55:50 UTC

*** This bug has been marked as a duplicate of 38705 ***