Error with postfix temporary failure. Command output: local: fatal: execvp No such file or directory

I have a strange error with Postfix. The mails that postfix receive is supposed to be piped to a script. The .forward file is properly setup.

I get this error in logs.

(temporary failure. Command output: local: fatal: execvp /home/xxxx/public_html/xxx/pipe/pipe.php: No such file or directory)

The script does exist in that location. Also I’m using a OpenVZ vps with Centos 7 OS. There is no SELinux in it.

What might be the issue? Please help!

Howdy,

You may want to try manually running that script from the command line, preferably as the email account owner, but possibly as the Virtual Server owner, just to see what happens.

It’s possible that there’s a problem with the script itself which is causing that error – and if that’s the case, you may see a similar error on the command line where it may be easier to debug.

-Eric