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.

Is it possible to forward outgoing mail?

Discussion in 'E-mail Discussions' started by kamm, Apr 28, 2008.

  1. kamm

    kamm Active Member

    Joined:
    Jan 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Say I have an account on the server - example.com

    If using a standard email client, I send an email from:

    info@example.com to whoever@somewhere.com

    can I somehow forward a copy of that email to:

    sales@example.com

    without using CC or BCC?

    -----------------------------------

    This is on a dedictated server running
    WHM 11.15.0 cPanel 11.18.3-R21703
    CENTOS Enterprise 4.5 i686

    -----------------------------------

    Cheers,
    kamm...
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This functionality is not native to cPanel/WHM, rather it would be a manual tweak to Exim. You may want to search these forums for "copy outbound mail" or similar phrases.
     
  3. kamm

    kamm Active Member

    Joined:
    Jan 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Thanks for the response. I have tried searching, but so far haven't come up with anything.

    If anyone does know of any past posts or has any knowledge on how to achieve this I'd be very grateful...

    Cheers,
    kamm...
     
  4. yantomulia

    yantomulia Member

    Joined:
    Feb 13, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    if you can access to your exim setting, you can add the text below at your cpanel_exim_system_filter

    if first_delivery
    and ("$h_from:" contains "info@example.com")
    and not ("$h_X-Spam-Checker-Version:" begins "SpamAssassin")
    then
    unseen deliver "sales@example.com"
    endif
     
  5. kamm

    kamm Active Member

    Joined:
    Jan 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Many thanks yantomulia,

    Your method was easy to implement and worked a treat.

    :)

    Cheers,
    kamm...
     
  6. sukil

    sukil Member

    Joined:
    Nov 15, 2005
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Has the exim.conf changed a lot in these years? I am using the latest stable i.e. WHM 11.28.86 and I cant seem to locate the cpanel_exim_system_filter section mentioned in the solution.

    Also these days cPanel provides the Advanced Editor so that changes to /etc/exim.conf wont be overwritten. Is it possible to use it to achieve the same?

    Thanks in advance,

    Su
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    There's a discussion on using blind carbon copy such as this at this location:

    http://forums.cpanel.net/f43/hidden-copies-incoming-outgoing-emails-201801.html#post828491

    Of note, you'd want to review the second post I make in that thread as well. The first one discusses how to get the filter file setup so that it doesn't get overwritten by cPanel using WHM > Exim Configuration Editor and the second post discusses how to achieve sending an email to one email account then forwarding to another one.
     
Loading...

Share This Page