LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 15
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?
 
Old 10-13-2003, 01:22 AM   #2
waffe
Member
 
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!
 
  


Reply


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 06:13 AM
PHP permissions hack124x768 Linux - Security 3 08-16-2004 09:17 PM
Permissions for browser and email client? eeried Linux - Security 4 06-18-2004 04:04 AM
Sending email with PHP jacksmash Programming 7 03-10-2004 06:10 PM
PHP EMail MaverickApollo Linux - Software 1 02-07-2004 02:51 PM


All times are GMT -5. The time now is 05:58 AM.

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