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

jprealini

Member
Jul 13, 2014
6
0
1
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
 

jprealini

Member
Jul 13, 2014
6
0
1
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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
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.
 

jprealini

Member
Jul 13, 2014
6
0
1
Buenos Aires, Argentina
cPanel Access Level
Website Owner
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.
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!
 
Last edited by a moderator:

jprealini

Member
Jul 13, 2014
6
0
1
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 protected] Redirecto to [email protected], 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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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?
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.