Email piping / forwarding issue
Hi,
I have a script that used to work, but for some reason stopped doing so. Probably after an update, but I'm not sure.
I'm forwarding fwd@mydomain.com to |/home/mydomain/email.php
The Shebang is: #!/usr/local/bin/php -q
I tried #!/usr/bin/php -q as well
This message was created automatically by mail delivery software.
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 | php -q /home/mydomain/email.php
generated by fwd@mydomain.com
local delivery failed
Track delivery in CPanel says:
Child process of virtual_address_pipe transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command: /bin/php |
I'm unsure what has changed, or what I might have altered, but the script is no longer working. Any help would be greatly appreciated.
-
Hey there! This is a complete guess, but is that user inside of CageFS on a CloudLinux system? If so, can you try that work with the user removed from CageFS to see if that changes things?
If not, it would likely be best to create a ticket so we can see the script in action and perform additional testing.
0 -
No, it's just AlmaLinux. I would have opened a ticket, but "This feature is only available if you have purchased a license directly from cPanel." Actually, when I bought my license this feature was available to everybody, but it's not anymore.
0 -
Since you're getting a "local delivery failed" message, are you able to send a standard email from Roundcube to that address from another account on the server?
0
Please sign in to leave a comment.
Comments
3 comments