Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-12-2003, 03:37 PM   #1
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
email with php permissions problem

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/


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?
Old 10-13-2003, 12:22 AM   #2
Registered: Sep 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PhP Problems (email form) webwolf70 Programming 5 10-14-2005 05:13 AM
PHP permissions hack124x768 Linux - Security 3 08-16-2004 08:17 PM
Permissions for browser and email client? eeried Linux - Security 4 06-18-2004 03:04 AM
Sending email with PHP jacksmash Programming 7 03-10-2004 05:10 PM
PHP EMail MaverickApollo Linux - Software 1 02-07-2004 01:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration