View previous topic :: View next topic |
Author |
Message |
agentwd40 n00b
Joined: 14 Oct 2002 Posts: 63
|
Posted: Sat Mar 15, 2003 8:15 pm Post subject: sendmail problems |
|
|
Hi I get this error each time i try to send mail with a forum which is hosted on apache2
Code: | Mar 15 15:14:09 xxxx sendmail[3719]: NOQUEUE: SYSERR(apache): can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=209): Permission denied |
i put apache into the smmsp group (which is 209) and the error still comes up
(/var/spool/clientmqueue is chowned to smmsp.smmsp)
I have temporarily chmodded the folder 777 but I'd like a proper fix for this.
Thanks in advance. |
|
Back to top |
|
|
Eagle-Eye n00b
Joined: 25 Sep 2002 Posts: 17
|
Posted: Sun Mar 16, 2003 5:33 pm Post subject: |
|
|
I also have problems with sendmail. Everytime I update it I need to change the permissions on sendmail binary and the queue directory. Sendmail seems to be using gid 407 and not 209. I also have two entries for smmsp in /etc/group, one for gid 209 and one for 407. This gives a GID collision, but I'm not sure if I just can remove gid 209 or if someone else is using it. (ls -n will give you the numeric values for uid and gid.)
Entries from passwd and group:
Code: | smmsp:x:407:407::/var/spool/mqueue/:/dev/null
|
Code: | smmsp:x:209:smmsp
smmsp:x:407:
|
Changing these permissions might help...
Code: | -r-xr-sr-x 1 0 407 681104 Mar 4 16:21 /usr/sbin/sendmail
drwxrwx--- 2 407 407 104 Mar 16 00:07 /var/spool/clientmqueue
|
|
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Mon Mar 17, 2003 9:40 am Post subject: |
|
|
its a while ago sinced i used sendmail, but i think you can set these uid/gid's in the sendmail.cf |
|
Back to top |
|
|
|