Fishbulb714
04-14-2003, 09:06 PM
Hi,
I'm trying to get my sendmail configured correctly for use with PHP Nuke on a box running RHL8.0. I started by running through this guide:
http://www.siliconvalleyccie.com/sendmail.htm
And when I used the sendmail -v mail gets sent off and everything works nicely...but Nuke still refused to send mail. Soooo....I tried running a simple php call to mail() in a test script which failed also. The following error keeps getting logged:
---------------------------------------------
Apr 14 13:09:30 res03648 sendmail[17934]: NOQUEUE: SYSERR(UID48): /etc/mail/submit.cf: line 421: readcf: option RunAsUser: unknown user smmsp: Permission denied
Apr 14 13:09:30 res03648 sendmail[17934]: NOQUEUE: SYSERR(UID48): /etc/mail/submit.cf: line 440: readcf: option TrustedUser: unknown user smmsp: Permission denied
Apr 14 13:09:30 res03648 sendmail[17934]: NOQUEUE: SYSERR(UID48): can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=51): Permission denied
---------------------------------------------
So after browsing some sites, I saw that the php.ini file was of some interest, in particular, the -t flag on the sendmail variable. Everything looks fine there. Then I read some stuff about the user and group smmsp being important...both exist and sendmail, mta, and sendmail.sendmail all belong to the group smmsp and seem to have the correct permissions.
Then I read something that said to just run a test on the "mail" command at the prompt. When I enter "mail myemail@domain.com" from root, it asks for subject, then I enter, the body, then it spits out "Who are you?: Permission denied" and leaves me at a blank line. If I enter a period to terminate it gives me something like "-bash: .: filename argument required
.: usage: . filename" but I assume thats not as important as the Who are you problem.
I then searched for this error on the net, and came up with one post that said this was symptomatic of a sendmail configuration error of some kind, but did not say anything in particular.
Does anyone know what I need to do and why it's giving me these errors?
Thanks.
I'm trying to get my sendmail configured correctly for use with PHP Nuke on a box running RHL8.0. I started by running through this guide:
http://www.siliconvalleyccie.com/sendmail.htm
And when I used the sendmail -v mail gets sent off and everything works nicely...but Nuke still refused to send mail. Soooo....I tried running a simple php call to mail() in a test script which failed also. The following error keeps getting logged:
---------------------------------------------
Apr 14 13:09:30 res03648 sendmail[17934]: NOQUEUE: SYSERR(UID48): /etc/mail/submit.cf: line 421: readcf: option RunAsUser: unknown user smmsp: Permission denied
Apr 14 13:09:30 res03648 sendmail[17934]: NOQUEUE: SYSERR(UID48): /etc/mail/submit.cf: line 440: readcf: option TrustedUser: unknown user smmsp: Permission denied
Apr 14 13:09:30 res03648 sendmail[17934]: NOQUEUE: SYSERR(UID48): can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=51): Permission denied
---------------------------------------------
So after browsing some sites, I saw that the php.ini file was of some interest, in particular, the -t flag on the sendmail variable. Everything looks fine there. Then I read some stuff about the user and group smmsp being important...both exist and sendmail, mta, and sendmail.sendmail all belong to the group smmsp and seem to have the correct permissions.
Then I read something that said to just run a test on the "mail" command at the prompt. When I enter "mail myemail@domain.com" from root, it asks for subject, then I enter, the body, then it spits out "Who are you?: Permission denied" and leaves me at a blank line. If I enter a period to terminate it gives me something like "-bash: .: filename argument required
.: usage: . filename" but I assume thats not as important as the Who are you problem.
I then searched for this error on the net, and came up with one post that said this was symptomatic of a sendmail configuration error of some kind, but did not say anything in particular.
Does anyone know what I need to do and why it's giving me these errors?
Thanks.