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.

Send a copy of all emails without using cpanel Forwarder

Discussion in 'E-mail Discussions' started by Deker, Mar 15, 2016.

  1. Deker

    Deker Well-Known Member

    Joined:
    Feb 15, 2011
    Messages:
    79
    Likes Received:
    1
    Trophy Points:
    8
    My manager asked me to configure the server to send a copy of all incoming emails to his email without using cpanel Forwarders tool.
    I never heard about such method but he believes there is one.
    Anyone knows what method it is?
    Note: I have full access to the server so if there is something to do on serverside I can do it.
    Your help would be greatly appreciated.

    Update: There are almost 100 websites on the server, but I want to send a copy of our main domain incoming emails to the manager email.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. Deker

    Deker Well-Known Member

    Joined:
    Feb 15, 2011
    Messages:
    79
    Likes Received:
    1
    Trophy Points:
    8
    Thank you 24x7Server
    I went through the CpanelTristan instructions, it works like a charm but how can I add an exception to the if statement?
    I mean something like the following:
    Code:
    if ("$h_to:, $h_cc:, $h_bcc" contains "domain.com" AND IS NOT abc@domain.com)
    then
      unseen deliver "info@domain.com"
    endif
    
     
    #3 Deker, Mar 15, 2016
    Last edited: Mar 15, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. Deker

    Deker Well-Known Member

    Joined:
    Feb 15, 2011
    Messages:
    79
    Likes Received:
    1
    Trophy Points:
    8
    Hello Michael
    But I need copies to send to the CEO email not a separated email.
    Do you know how do I add the exception I explained above to the conditional statement?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can simply modify the filter rule that's listed in the custom workaround and use your own. Keep in mind this method is unsupported by cPanel. The "Archiving" feature was designed to prevent the need for this type of workaround.

    Thank you.
     
Loading...

Share This Page