Results 1 to 1 of 1
Hi all,
Code:
sendmail[30361]: NOQUEUE: SYSERR(www-data): can not write to queue directory /var/spool/mqueue-client/ (RunAsGid=33, required=117): Permission denied
what permissions to set for /var/spool/mqueue-client/ so that www-data can write to the ...
- 08-18-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 1
Linux: www-data permissions to sendmail?
Hi all,
what permissions to set for /var/spool/mqueue-client/ so that www-data can write to the directory without giving 777?Code:sendmail[30361]: NOQUEUE: SYSERR(www-data): can not write to queue directory /var/spool/mqueue-client/ (RunAsGid=33, required=117): Permission denied
chmod..... ?
I've tried sendmail.org /tips/dontBlameSendmail Overriding File Security Checks - Tips - sendmail.org -> adding options to the command in php.ini to try and get sendmail to just skip over errors and still send email but it still won't work.
I've also tried adding www-data to the group that has full permission to the mqueue-client directory in /var/spool - and it's still not working.
Code:id www-data uid=33(www-data) gid=33(www-data) groups=33(www-data),8(mail),117(smmsp)
I've also tried giving 777 permissions on the mqueue-client directory and it won't work and throws errors:
Any iteas much appreciated!Code:sendmail[32451]: dangerous permissions=40777 on queue directory /var/spool/mqueue-client/
Thanks!


Reply With Quote