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!

Custom Rules for Email forwarder

Discussion in 'E-mail Discussion' started by Mohammad Baddar, Mar 2, 2018.

  1. Mohammad Baddar

    Mohammad Baddar Registered

    Joined:
    Mar 2, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Oman
    cPanel Access Level:
    Website Owner
    Hi all

    we have special emails that we want to do the following :
    emails received from specific domain and based on the subject will do the :
    1- Change the subject completely and use an new subject to "Example".
    2- Remove specific lines in email body completely.
    3- Send it to new email address with the modified body.

    is this possible ? maybe using custom script for example ?

    Regards
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You'd like need to setup a filter that detects the criteria and then set the action to "Pipe to a Program". You'd then have to setup a custom script to process the message and modify it to your preferences.

    While that level of customization is outside our scope of support, you can find a list of companies offering system admin services on the following URL if this is something you require assistance developing:

    System Administration Services | cPanel Forums

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice