Subject: bad sendmail permissions
To: None <netbsd-help@netbsd.org>
From: Old Thrashbarg <bsd_beats_ms@hotmail.com>
List: netbsd-help
Date: 01/05/2005 11:42:35
Sorry for sending this through Hotmail, I didnt have much of a choice. Also
CC me a copy of anything you post about this because my server can't receive
mail either.
Reacently sendmail has decided to stop sending mail because of a permissions
problem, I'm guessing a few permissions were changed when the power went out
during the last storm.
[kaput]:~$ sendmail -v bsd_beats_ms@hotmail.com
subject: test
this is a test
collect: Cannot write ./dfj03FWkOn005035 (bfcommit, uid=1008, gid=1001):
Permission denied
Originaly this gave out two permission denied errors but I cleaned that up
by changing the permissions of /var/spool/mqueue which was originally owend
by root:wheel. I've tryied changing clientqueue but that hasnt had any
affect.
ls of /var/spool
drwxrwx--- 2 smmsp smmsp 1024 Jan 4 01:48 clientmqueue/
drwxr-xr-x 5 root wheel 512 Feb 11 2004 ftp/
drwxr-xr-x 2 uucp daemon 512 Nov 9 20:40 lock/
drwxrwxr-x 4 root wheel 512 Oct 2 13:48 lpd/
drwxrwxr-x 2 smmsp smmsp 512 Jan 4 02:03 mqueue/
drwxr-xr-x 2 root wheel 512 Oct 2 13:46 output/
drwxr-xr-x 3 root wheel 512 Feb 11 2004 postfix/
drwxrwxrwx 2 root wheel 512 Feb 11 2004 sockets/
drwxr-xr-x 2 uucp daemon 512 Feb 11 2004 uucp/
drwxrwxrwt 2 uucp daemon 512 Feb 11 2004 uucppublic/
I cant seem to clear up that permission denied message. Sendmail is owned by
root:smmsp and has a set group ID bit. Uid 1008 is my user account, gid 1001
is smmsp.
Does anyone have any hints?
Thanks.
_________________________________________________________________
Are you right for each other? Find out with our Love Calculator:
http://fun.mobiledownloads.com.au/191191/index.wl?page=191191text