Fix Autoresponder error in cPanel using CageFS

fix-error-in-cPanel-using-CageFS

Let’s take a look at the ways in which we resolve these errors in our customer’s server. 
The issue we are going to discuss is related to a Cloudlinux server with cPanel/WHM using CageFS.

Several clients on the server started to complain that each mail they received was sending back an error to the sender as mentioned below:

[Company name] Failed email delivery message

One of our clients reported an issue regarding their emails on their servers, that clients are sending them emails which are being received, but, the sender was receiving the following error message afterward:

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 |/usr/local/cpanel/bin/autorespond user@user@emailaddress /home/user/.autorespond
generated by user@emailaddress

The following text was generated during the delivery attempt:
pipe to |/usr/local/cpanel/bin/autorespond user@emailaddress /home/user/.autorespond
generated by user@emailaddress

[2020-06-30 14:22:31 +1000] info [autorespond] Failed to read response template /home/user/.autorespond/user@emailaddress: No such file or directory

From: username
Subject: Test
Date: Tue, 30 Jun 2020 04:22:25 GMT
To: username <user@emailaddress?
Service:
proxyexecd was not running on the server, so all the proxy commands like Sendmail (/etc/cagefs/proxy.commands) didn’t work for users in the cage :

You can check the status of the service and if the status is stopped you run the below command to start the process

Step1: Check the status of the service:

/etc/init.d/proxyexecd status/systemctl status proxyexecd
proxyexec is stopped

Step2: Start the service if stopped.

/etc/init.d/proxyexecd start/systemctl start proxyexecd

You can also try restarting the proxyexecd to resolve the issue.

Hope this could help you troubleshoot the error. For further assistance, feel free to Contact Us.

As part of our Technical support service, we can assist you in troubleshooting issues related to cPanel/WHM and CageFS.

You can also check our solution to Email account migration from one cPanel server to another

Follow us for the latest updates: Facebook, Twitter, LinkedIn

Subscribe to get free blog content to your Inbox