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!

How to automatically CC an email address for sent email

Discussion in 'E-mail Discussion' started by reko91, Jun 19, 2018.

  1. reko91

    reko91 Registered

    Joined:
    Jun 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner
    I need a way of forwarding all sent email from an email address to another specified email.

    For example, email account a@a.com sends an email to b@b.com, which automatically gets sent to admin@a.com.

    One thing to note, I am not an administrator of the server so I cannot edit the exim config file. I have access to horde, squirrelMail and roundCube.

    Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,861
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. reko91

    reko91 Registered

    Joined:
    Jun 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner
    Sorry, perhaps I didn't explain very well. I own the mailbox for @a.com (for this example) so I only have access to this mailbox. Ill give a better example.

    I wish to forward all sent email from a@a.com, not received. So when a@a.com sends an email to c@c.om, d@d.com and e@e.com, these emails will automatically get forwarded to admin@a.com.

    Hope that makes more sense.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @reko91

    You'd probably need to employ the use of an email filter to do what you're requesting. Information on Email filters can be found here: How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation

    If you only have access to the email account (not cPanel) you should be able to reach the Email Filters interface from Webmail by using the drop-down in the top right-hand side with your email address.
    email_optiosn.png

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    998
    Likes Received:
    44
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I think what he's suggesting wouldn't work with a filter. (would it ?)

    eg.

    Lets assume, I have my own domain 'mydomain.com'.
    I'm sending an email from 'employee@mydomain.com' to an email address which I have no control over.
    However, I'd also like a copy of that outbound email to be automatically mirrored internally to 'supervisor@mydomain.com'.
    (effectively an automatic CC or BCC)

    I can't set up a filter on the recipient, as these are not my domains, I have no control over them.
    And as far as I'm aware, filtering only works for inbound email, not outbound.

    If this is the case, then you'll probably need to do this in your outgoing email client software.

    I was asked to do something similar a few years ago, where the boss wanted to keep tabs on an employee who he suspected was stealing.

    Very naughty, probably frowned up and more than likely illegal, but it can be done.

    - Removed -

    Might I add, that I did this without having to purchase anything, although I can't seem to find my notes on how exactly.
     
    #5 keat63, Jun 21, 2018
    Last edited by a moderator: Jun 21, 2018
  6. reko91

    reko91 Registered

    Joined:
    Jun 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner

    You got it spot on, that's what I want. Yeah I'm not sure about the legality part. At the moment I am maintaining the site for them and I'm not too comfortable giving them access to cpanel to get access the the mail, so I was just wondering whether there was a feature to stop me having to do that.
     
    #6 reko91, Jun 21, 2018
    Last edited by a moderator: Jun 21, 2018
  7. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    998
    Likes Received:
    44
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I did it with a VBS script, but that's about as much as I remember, as it was so long ago.
    I'd suggest maybe tell the user that they would have to do it at thier end and it cannot be done on the server.
    Especially cosidering the new GDPR regulations.
     
  8. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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