Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sendmail problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
agentwd40
n00b
n00b


Joined: 14 Oct 2002
Posts: 63

PostPosted: Sat Mar 15, 2003 8:15 pm    Post subject: sendmail problems Reply with quote

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
View user's profile Send private message
Eagle-Eye
n00b
n00b


Joined: 25 Sep 2002
Posts: 17

PostPosted: Sun Mar 16, 2003 5:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Mon Mar 17, 2003 9:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum