For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /directadmin/email_account/how_to_delete_an_email_forwarder_in_directadmin.md.

How to Delete an Email Forwarder in DirectAdmin

An email forwarder can be removed at any time from the DirectAdmin User level. This is usually done when a destination address is no longer valid, when a role-based address is retired, or when a forwarder is being replaced by a real mailbox.

Removing a forwarder does not delete any mail. Nothing is stored on the server for a forwarder, so the only effect is that mail sent to the source address is no longer redirected.

This guide covers deleting an existing email forwarder, and changing its destination if the forwarder itself should stay in place.

Info

DirectAdmin offers two interface themes: the Standard theme (the traditional interface) and the Refreshed theme (a newer, more modern interface). Steps for both are below. To switch themes, see How to Change Theme or Layout in DirectAdmin.

Requirements

  • A DirectAdmin User account, or a Reseller or Admin account switched into the User level.
  • An email forwarder that already exists on the domain.
  • Confirmation that the source address is no longer in use, or a plan for where mail sent to it should go afterwards.

Before You Delete

  • Check where the mail should go instead. Once the forwarder is gone, mail sent to the address is treated as an unknown recipient and handled by the catch-all setting for the domain.
  • Confirm the address is not published. Role-based addresses such as info@YOUR_DOMAIN are often printed on websites, invoices, and business cards. Removing the forwarder means that mail stops reaching anyone.
  • Consider editing instead of deleting. If only the destination has changed, update the existing forwarder rather than removing it and creating a new one.
  • Check for applications using the address. Contact forms and order notification systems sometimes send to a forwarder rather than a mailbox.

In the Refreshed Theme

Log in to DirectAdmin

Log in to the DirectAdmin panel.

Open Forwarders

Click on Forwarders under E-Mail Manager. You can also type Forwarders in the navigation filter box to jump straight to the page.

Forwarders under E-Mail Manager

Select the domain

If your account holds more than one domain, check the domain shown at the top of the page and switch it if needed. The list only shows forwarders belonging to the selected domain.

Domain selector at the top of the page

Select the forwarder and click Delete

Tick the checkbox beside the forwarder you want to remove. You can select more than one to delete them together. An action bar appears above the list. Click Delete.

Forwarder selected with the Delete button

Confirm the deletion

A confirmation dialog opens for the forwarders selected. Click Confirm.

Deletion confirmation dialog

Check the forwarder list

The forwarder is removed from the list and stops working immediately.

Forwarder list after deletion

In the Standard Theme

Click here to show the steps

Log in to DirectAdmin

Log in to the DirectAdmin panel.

Open Forwarders

On the dashboard, go to E-Mail Manager and click Forwarders.

Forwarders under E-Mail Manager

Find the forwarder

The page lists every forwarder on the domain along with its destination addresses. Locate the forwarder you want to remove.

Forwarder list

If you have multiple domains hosted under the same user account, the page opens with the main domain selected by default. Change the domain from the selector at the top of the page if the forwarder belongs to another domain.

Domain selector at the top of the page

Select the forwarder and click Delete

Tick the checkbox beside the forwarder, then click Delete.

Forwarder selected with the Delete button

Confirm the deletion

Confirm the deletion when prompted.

Deletion confirmation

Check the forwarder list

The forwarder no longer appears in the list, and mail sent to that address is no longer redirected.

Forwarder list after deletion

Changing the Destination Instead

If the source address is still needed and only the recipient has changed, edit the forwarder rather than deleting it:

  1. Go to E-Mail Manager > Forwarders.
  2. Click on the forwarder name in the list, or use the modify option on its row.
  3. Replace the address in the Destination Email field. Enter one address per line to deliver to several recipients.
  4. Click Save.

The source address keeps working throughout, so no mail is missed while the change is made.

Removing One Destination From a Forwarder

A forwarder can have several destinations. To stop mail reaching one of them while keeping the rest:

  1. Open the forwarder for editing.
  2. Delete only the line containing the address you no longer want.
  3. Click Save.

Deleting the forwarder entirely is only necessary when no destination should receive the mail any longer.

Verification

Send a test message from an outside account to the deleted forwarder address. What happens next depends on the catch-all setting for the domain:

  • With the catch-all set to Fail, the sender receives a bounce saying the address does not exist.
  • With the catch-all set to Address, the mail is delivered to the catch-all mailbox instead.
  • With the catch-all set to Ignore, the mail is accepted and discarded with no notice to the sender.

If you have shell access, watch the mail log while the test is sent:

tail -f /var/log/exim/mainlog

Confirm the entry has been removed from the alias file for the domain. Replace YOUR_DOMAIN and FORWARDER_NAME:

grep -i "FORWARDER_NAME" /etc/virtual/YOUR_DOMAIN/aliases

The command returns nothing once the forwarder is gone.

Troubleshooting

ProblemCauseSolution
Mail is still being forwarded after deletionA second forwarder with the same name exists on another domain, or the sending server is retrying a queued messageCheck the forwarder list on each domain, and allow the queue to clear
Mail to the address now bounces unexpectedlyThe address is still published and the catch-all is set to FailRecreate the forwarder, or create a mailbox with the same name
Mail to the address disappears with no bounceThe catch-all is set to Ignore, so unknown recipients are discarded silentlyChange the catch-all to Fail so senders are notified
The wrong forwarder was deletedThe domain selector was set to a different domain, or the wrong row was tickedRecreate the forwarder with the same name and destination. No mail is lost, only messages sent in the interval are affected
The forwarder cannot be deletedThe page was not reloaded after an earlier changeReload the Forwarders page and try again
A new mailbox cannot use the freed nameThe forwarder list still holds an entry with that nameConfirm the deletion completed, then create the mailbox

Important Notes

  • Deleting a forwarder does not delete any mail. Forwarders do not store messages on the server.
  • Messages already delivered to the destination mailbox stay where they are.
  • A message sitting in the mail queue when the forwarder is deleted may still be delivered when the queue is next processed.
  • After deletion the source address is free to be used again by a mailbox, autoresponder, or new forwarder.
  • Deleting a forwarder does not affect the destination mailbox in any way.
  • Changes take effect immediately and no service restart is required.

Conclusion

The email forwarder is now removed and mail sent to that address is no longer redirected. If the address is still published anywhere, create a mailbox or a replacement forwarder so that mail sent to it continues to reach someone.