My host provider recently upgraded to 11.38.2 and my advanced email pipe to a PHP script immediately started to fail:
I understand this is probably due to the new Jail System Update.
Is there anyway around this? I understand that EXIM is supposed to run inside the user's VirtFS:
I could write a cron job to access the mailbox via IMAP and process messages, but that seems like a real waste of power instead of being able to do it on demand.
Thanks in advance for the help.
Code:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
pipe to |/home/user/public_html/email_proc.php
generated by [email protected]
The following text was generated during the delivery attempt:
------ pipe to |/home/user/public_html/email_proc.php
generated by [email protected] ------
2013-12-24 10:36:27 [6] Cannot open main log file "/var/log/exim_mainlog": Read-only file system: euid=0 egid=32007
2013-12-24 10:36:27 [6] cwd=/home/user/public_html/ 5 args: /usr/sbin/sendmail -t -i -f [email protected]
2013-12-24 10:36:27 [6] Cannot open main log file "/var/log/exim_mainlog": Read-only file system: euid=0 egid=32007
exim: could not open panic log - aborting: see message(s) above
Is there anyway around this? I understand that EXIM is supposed to run inside the user's VirtFS:
So if Exim does need to write something shouldn't there be a place in the user's file system for this? Right now my host provider is just saying tough luck, you can use pipes anymore on a shared host and sent me a list of other providers.When a user's shell is configured to jailshell or noshell, Exim runs any process created from alias or filter files inside of VirtFS. This action provides extra security because Exim commands will run in a jailed shell and not affect other users
I could write a cron job to access the mailbox via IMAP and process messages, but that seems like a real waste of power instead of being able to do it on demand.
Thanks in advance for the help.