Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

email piping with subaddress

Discussion in 'E-mail Discussions' started by mike817, Sep 12, 2016.

  1. mike817

    mike817 Member

    Aug 5, 2010
    Likes Received:
    Trophy Points:
    Hey all. I'm looking to do some automatic email processing. Basically if someone replies to an email, the response would be stored in a database. In order to pull this off I setup an email forwarder to a php script. The problem I'm having is when I add some identifying information in the subaddress section of the email address, the forwarding stops. Is there any way to setup the forwarding that will work with dynamic subaddresses?
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    The ability to use subaddresses for email is documented at:

    Email Accounts - Documentation - cPanel Documentation

    Here's the text from this document:

    As far as forwarders, one potential workaround is to setup a global email filter:

    Global Email Filters - Documentation - cPanel Documentation

    You could setup the filter so that if the header matches a specific prefix, it performs a set action. Note that you may need to utilize a regular expression in your custom filter rule:

    Help needed with Global Filters (body regex)

    Thank you.

Share This Page