I'm trying to setup the email features of a moodle 2.8.5+ (Build: 20150414) installation on a Linux Ubuntu 14.04 LTS box.
I tried following the instructions: https://docs.moodle.org/dev/Email_processing, but I still get an error:
Jul 21 08:56:52 moodle local[19321]: message repeated 25 times: [ fatal: execvp /var/www/html/moodle/admin/process_email.php: Permission denied]
The messages on the mailq are
634FD35C12DA 5421 Tue Jul 21 11:01:02 www-data@myhostname.org (temporary failure. Command output: local: fatal: execvp /var/www/html/moodle/admin/process_email.php: Permission denied)
mdl+@myhostname.org
www-data@myhostname.org
I tried giving permissions to the process_email.php but that doesn't work either.
-rw-r--r-- 1 www-data www-data 8793 mar 9 12:30 portfolio.phpAny pointers on how to make it work are appreciated.
-rwxr-xr-x 1 www-data www-data 1779 abr 20 23:41 process_email.php*
-rw-r--r-- 1 www-data www-data 2294 mar 9 12:30 purgecaches.php