Subject: bad smtp permissions
To: None <undisclosed-recipients>
From: None <thrashbarg@kaput.homeunix.org>
List: netbsd-help
Date: 01/03/2005 15:56:31
Sorry if this doesn't come out properly, I'm typing this directly to my ISP's SMTP server...
Reacently sendmail has decided to stop sending mail because of a permissions problem.
[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.