email with php permissions problem
HI,
I have a new debian 3.0 with php 4. I am using php mail form to send an email to a client. Basicly its a add yourself to a mailing list form on a music website. The script worked just fine on my old redhat system but now when I envoke the php script I get these two errors. dangerous permissions=40755 on queue directory /var/spool/clientmqueue/ and Oct 12 15:19:59 able sendmail[21872]: h9CKJxEs021872: SYSERR(www-data): queueup: cannot create queue file ./qfh9CKJxEs021872, euid=1002: Permission denied I am the one who changed the /var/spool/clientmqueue/ permissions trying to fix the second error. So what is the /var/spool/clientmqueue/ permissions suposed to be, and how do I solve the second error? |
Fixed the problem. For me the permission seem happy at 770 or rwxrwx--- but the big part I was missing was the owner and group setting of /var/spool/clientmqueue/, once I set them to smmsp:smmsp all is good. I read that some people may need this to be mail:mail, but the permissions globally should be 770. This is what I have read; I am not a Linux guru, so the next person that reads this, beware!
|
All times are GMT -5. The time now is 09:44 PM. |