How to manage emails for personal domain hosted vis cpanel
I have a cpanel host and I have two domain names;1st domain name = domain-1.com
2nd domain name = domain-2.com
I'd like to use roundcube webmail, logging in via main account, to view & reply to emails arriving at these (two) domains.
I specifically want to assign rules on the host. Emails should get sorted into folders, automatically, based on origin.
It seems that cpanel might not be the correct software as I'm having problems getting the following structure set-up.
The whole purpose of what I'm trying to do is really for two reasons:
1. Provide an email address, upon signing-up to forum for example, and then quickly create a sub-folder within cpanel for any mail arriving from that (forum's) domain.
2. Black-hole incoming emails that arrive from from any other domains.
Is the following structure possible?
If not then what software should I be using?
Code:
nameA@domain-1.com -sub folder 01 -sub folder 02 -sub folder 03 -sub folder 04 nameX@domain-2.com -sub folder 01 -sub folder 02 nameY@domain-2.com -sub folder 01 Incoming Rules for username/mailbox nameA@domain-1.com if "from" = work1.com, move to sub folder 01 if "from" = work2.com, move to sub folder 02 if "from" = work3.com, move to sub folder 03 if "from" = work4.com, move to sub folder 04 else * , drop