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 directory without giving 777?

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:

Code:
 sendmail[32451]: dangerous permissions=40777 on queue directory /var/spool/mqueue-client/
Any iteas much appreciated!


Thanks!