How to Set Up Auto-Deletion for Forwarded Emails in cPanel

November 13, 2024 / cPanel & WHM

This article explains how to automatically delete forwarded emails in cPanel.

cPanel’s email forwarder option allows you to forward emails from one account to another. By default, it keeps a copy in the primary email account while also sending a copy to the forwarding address, resulting in duplicate emails. If you prefer not to retain a copy in the primary account, you can set up an email filter to automatically delete the original after forwarding.

Steps to Delete Forwarded Email Copies in cPanel

  1. Log in to your cPanel account.
  2. Navigate to “Email Filters.”
    email>email filter
  3. Find the email account you want to set up forwarding for, then click “Manage Filters.”
    manage filters
  4. Select “Create a New Filter.”
    create new file
  5. Enter the following details:
    1. Enter a unique “Filter name”. If you give the filter the same name as another filter, the previous filter will be overwritten.
    2. In the “Rules” section, select Any Header and Contains, then enter the email address you want to forward.
    3. In the “Actions” section, select “Redirect to Email” and enter the email address where you want the emails to be forwarded.
      email filters
  6. Finally, click the “Create” button.
    create

That’s it! This setup will delete forwarded email copies in your cPanel account automatically.

Learn more in our guide: How to Implement Mail Forwarding in Plesk

Spread the love