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.

Forward emails to external account without keeping copy (no alias)

Discussion in 'E-mail Discussions' started by jprealini, Jun 8, 2015.

  1. jprealini

    jprealini Member

    Joined:
    Jul 13, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Website Owner
    Hi.. I have seen several questions around this, but none of them with a good (or understandable) solution

    I need to create several email accounts, forward the incoming emails to an external account (like gmail for example) without keeping a copy (I could solve that by just setting up the pop account in gmail and tell gmail to delete the emails in the server after receiving them, but since Gmail checks new email every hour, and this clients handle critical information that need to arrive asap sometimes, that is why I need to use the forward option).

    The point is that I can't use aliases because these people need to send emails as their domain account (maybe there is a way to do this without using accounts, but I don't know).

    So... is there a way to do this? Forward emails using accounts and not aliases, and not keep copy of the emails?

    Thanks
     
  2. jprealini

    jprealini Member

    Joined:
    Jul 13, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Website Owner
    Update:

    I read in a thread that I could use User-level-filtering, but that there is an issue where if I set up a rule for two accounts, forwarding the emails and then discarding them, if an email is sent to both accounts, only of them receives it... I will test that option, but in case there is something else or a better way, I'll leave the thread open
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please ensure you post the exact filter rule that you have configured if it does not deliver email to the second account.

    Thank you.
     
  4. jprealini

    jprealini Member

    Joined:
    Jul 13, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Website Owner
    Thanks Michael

    So I did the test... I set up a User-Level Rule for two accounts.

    The first one:

    dl.dropboxusercontent.com/u/5654637/test11.PNG

    And the second one

    dl.dropboxusercontent.com/u/5654637/test22.PNG

    I am pretty sure the problem is that in a case where an email is sent to both accounts, the first rule discards the message before it reaches the second rule...

    How can this be set in order to make sure the email gets forwarded to both accounts before it gets discarded?

    Thanks!
     
    #4 jprealini, Jun 9, 2015
    Last edited by a moderator: Jun 9, 2015
  5. jprealini

    jprealini Member

    Joined:
    Jul 13, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Website Owner
    Ok.. after some playing around I found the solution...

    In my case (Cpanel 11.48) what I did was set the rules at Acount-Level filtering. I set one filter rule per account, with the TO contains email@address.com Redirecto to outside@email.com, with no DISCARD option.. then, as last rule, I set one the says TO contains "domain.com" DISCARD...

    That allowed me to receive the email sent to two addresses in the two redirected addresses and then discard the email...

    Now my question is, what will happen with wrong addresses (suppose someone misstypes an address)... I think I sould redirect that to a "catch-all" account before discarding.. right?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You can setup an email address for email sent to addresses that do not exist by using the "Default Address" option in cPanel.

    Thank you.
     
Loading...

Share This Page