CPanel’s a great software that’s been powering the web hosting industry for years. It has powerful functionality and a straightforward Graphical User Interface (GUI) that can allow a beginner to easily manage a web hosting account. However, some functionality can be tricky, such as the default forwarding function.
If you create an email forwarder in CPanel that forwards email to email@example.com, and create a POP email account of the same name – let’s call this firstname.lastname@example.org – then you’ll receive 2 emails. 1 will be at email@example.com, and 1 will be at firstname.lastname@example.org. This isn’t ideal though, because sometimes you’ll need a POP account to reply mails with, and so you can’t just use a pure forwarder. Some email service providers such as Gmail has a “forward and delete” functionality, and this is a behavior we can replicate in CPanel. However, we can’t use the normal email forwarders. For this, we’ll need the account-level filtering function.
Go to account-level filtering in Cpanel, and then create a new filter. In the “Rules” section”, choose “Any header”, and put in your email address (e.g. email@example.com). Now for the “Actions” section, choose “Redirect to email”, and put in the email address that you want all these mail to go to (e.g. firstname.lastname@example.org).
Viola! You now have a “forward and delete” behavior in CPanel.