To pipe unrouted emails to a specific script in cPanel, follow these steps:
 
- Log in to cPanel, and find the Email section.
 - Click the Default Address icon.
 - Click the Advanced Options link.
 - Click the Pipe to a Program option, and then enter the script name.
 - Click the Change button.
 
 You can always return to this screen to make changes to your email piping.