Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2010
Linux: www-data permissions to sendmail?
sendmail: NOQUEUE: SYSERR(www-data): can not write to queue directory /var/spool/mqueue-client/ (RunAsGid=33, required=117): Permission denied
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.
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:
sendmail: dangerous permissions=40777 on queue directory /var/spool/mqueue-client/