CyberPanel Community

ClosedDuplicated e-mail with forwarding

FL
Fabio Leal #1

After creating an email forwarding I am getting duplicate emails. Did I create something wrong?

Another question about these emails is if there is any way to create email aliases without having to create email forwarding?

29 replies
NK
Nitesh Kunnath #2

For your duplicate emails issue, we do not know what exactly you did with your configuration and hence cannot say anything on it.

For email aliases, do check this article by rainloop: RainLoop - Cloudron Docs.

mu
muhammad #4

To create email aliases please follow this link. RainLoop - Cloudron Docs
And what configuration do you do forwarding email?

FL
Fabio Leal #5

About the replicated emails:
I had to create 2 accounts fabio1@mydomain and fabio2@mydomain. In Email > EMAIL FORWARDING I forwarded from fabio2 to fabio1.

About aliases:
Thanks for the feedback, but I can’t find the filters in settings. I accessed the administrative interface and also couldn’t find where to release the filters.

FL
Fabio Leal #7

Sorry, @die2mrw007. I don’t understand how this will work!
How this Alias works? Just for, like, parked domains, where all account exist into all domains? For email alias, as exposed on my first post, how could i config?

On reference links that you guys send, must exist a filter page in settings menu

NK
Nitesh Kunnath #8

Please ignore the reference link I sent. Maybe thats an old documentation.
Please see the screenshot I attached in my last post where I have highlighted the add alias button inside rainloop admin panel. Please click on it and do the needful.

FL
Fabio Leal #9

Guys, sorry to open this thread again, but the die2m information is only for creating aliases for domains and not accounts, like what I want.
The idea is to have the email fabio@my-domain.com and have an alias called support@my-domain.com, where the support emails would be sent to the email fabio, without having to create a new separate email.

Is it possible or not?

FL
Fabio Leal #10

Any info about creating aliases for e-mails and not for domains?

NK
Nitesh Kunnath #11

I haven’t checked nor used email aliases myself and hence I am not sure. But do check rainloop plugins too available in github which may extend many functionality for rainloop. Just do a google search and you will get loads of plugins available for rainloop.

FL
Fabio Leal #12

Die2mrw007, thanks for the feedback, but the plugins in Rainloop Git are mostly password changing. LOL.
Thank you anyway!

KG
Kalvis Grauds #13

Came across the same thing when forwarding from email to email with the same domain. I looked at logfiles and I think that email was delivered by spammassasin and then with dovecot as well.

MK
Mirza Khadnezar S [sick] #14

in this case , we still need 2 email account with inbox ? correct ?

FL
Fabio Leal #15

No! Just 1 email with inbox. The another e-mails are just aliases.
You know when you have the e-mail youremail@youdomain.com and want to receive emails on this inbox from another e-mail like contact@youdomain.com or webmaster@yourdomain.com, but you don’t need to create new everything, like inboxes with new passwords for the contact and webmaster.
In the DNS world is like when you have an A Record e several CNAME records, but for e-mails. lol

FL
Fabio Leal #16

Until now, that is another problem without solution for me!

KG
Kalvis Grauds #18

In cyberpanel database e_forwardings I found a forwarding that was forwarded to itself, but it didnt show up in cyberpanel admin panel email Forwardings. Now there are no duplicate emails.

FL
Fabio Leal #19

No, not in this section… There is no section for this feature I’m asking.
What I’m looking for is a way to create something like a “mask” (or alias) for your email!!
It’s not real you know, just a pseudo/fake email that you could get the messages in your real email.
This type of email is used as on some servers that have a limited account number. Like: you can only create 5 real accounts, but something like infinite nicknames for those accounts)

Sry, but I don’t seem to be getting so clear on what I want.

FL
Fabio Leal #20

Great… so you found a bug?!
Hey developers! See this…
I’ll check the DB on my server if the same thing happens.

NK
Nitesh Kunnath #21

Please reconfirm this. I will check my vps setups too. If it indeed is a bug then we can file a bug report to get this resolved asap

KG
Kalvis Grauds #22

Tried it once more. One email forwarded to all emails under one domain, but I only forwarded to one. There’s definitely a bug!

FL
Fabio Leal #23

Yeah, same here
ID 4 - the e-mail that i’m want to forward, fowarding to itself
ID 5 - the correct forwarding, I guess

FL
Fabio Leal #24

Just to close this topic:

The solution found so far is as follows:

  • After creating the email forwarding, access the database;
  • In the cyberpanel database, look for the e_forwardings table;
  • Find the ID in which the email is repeated, as per previous on post #23, and delete the ID.

Another detail is that Forwarding, in Cyberpanel, serves to create masks/aliases for the main emails and works normally. The problem is having to create an account to do this. Anyway…

Thank you @calvingrain for finding the duplicate email issue and the leader @die2mrw007

MK
Mirza Khadnezar S [sick] #25

i cannot understand

can you create some tutorial step by step to get email forward without having mailbox (is this the final goal ? email fwd w/o inbox ? if not… forgive me… my mistake)

FL
Fabio Leal #26

So, @MyIDKaTePe… There is no way to create forwarding without creating emails, as cyberpanel does not have a menu to create masks/aliases.

The idea is to actually create the new email and then forward it to the desired email.
Remember that, for now, it is mandatory to access mysql and delete the duplicate record. Otherwise you will receive duplicate emails.

I’m creating these emails and assigning with auto generated passwords so I don’t have to worry about unauthorized access.

MK
Mirza Khadnezar S [sick] #27

(sry for my bad english)

u mean… u still create email with inbox
but because you delete the sql. then the email will not received at inbox ? only forward it ?

FL
Fabio Leal #28

No problem… maybe it’s because I’m using google translate to write my messages :stuck_out_tongue:
Where are you from? I’m from Brazil…

Yes, thats the idea

No, that’s not because the SQL… The SQL is just because the duplicated emails.

Maaan, you got me on this question.
Yes, the email no longer goes to the inbox and it’s only forwarded.
I went to check the forwarded email account and the box still exists but emails no longer go into it. It is empty!
The forwarding creation works like an alias/mask, but it also creates an unnecessarily dangerous mailbox.

MK
Mirza Khadnezar S [sick] #29

noted… thats is the brilliant idea…
thankyou …
i will try it :slight_smile:

btw
im from indonesia

MK
Mirza Khadnezar S [sick] #30

update:

already test and it working…

if i want to use rainloop as my mailbox webbased
i just create the second email then go to phpmyadmin, change the home mail dir to primary domain…

the problem is:

  1. if i forward the first domain to gmail… it safe. not spam
    but if i change the forward second email to gmail… marked as spam.
    check at google header analize, spf soft fail :frowning:

  2. i cant add *@mydomain.tld

lol

any idea ?

Sign in to reply