Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Edit the Account Suspension Email in DirectAdmin

This guide shows you how to change the message DirectAdmin sends when a user account is suspended.

DirectAdmin2 min read12 steps2 screenshots

What is account suspension?

Suspending an account means putting it on pause. The website and email stop working, but the data stays safe. It is like closing a shop for a while without throwing out the goods. A reseller or server owner may do this when a bill is late or when a rule was broken.

When an account is suspended, DirectAdmin can email the user. The email uses a template. A template is a ready-made text with blanks that the system fills in, such as the user's name.

This guide needs admin or reseller access.

Option 1: Use the panel

  1. Log in to DirectAdmin as a reseller or admin.
    Screenshot: Log in to DirectAdmin as a reseller or admin.
  2. Go to Reseller Level.
  3. Look for an item such as Customize Messages, Edit Message Templates or Reseller Settings.
  4. Find the message about suspension.
  5. Change the text in the box.
  6. Click Save.

Menu names depend on your DirectAdmin version. If you cannot find it, use Option 2.

Option 2: Edit the template file (server owners)

This needs root access, which is the all-powerful login of a server.

  1. Log in to the server with SSH, a secure way to type commands.
  2. Look in the template folder:
ls /usr/local/directadmin/data/templates/

This lists the default template files. Find the one for suspension.

  1. Make a custom folder if it does not exist:
mkdir -p /usr/local/directadmin/data/templates/custom

This makes a safe place for your changes. Updates do not overwrite it.

  1. Copy the suspension template into the custom folder.
  2. Open the copy with a text editor and change the words. Keep any parts that look like |name| as they are. These are blanks DirectAdmin fills in.
    Screenshot: Open the copy with a text editor and change the words. Keep any parts that look like |name
  3. Save the file.
Tip: Keep the message polite and clear. Tell the user why the account is suspended and how to fix it. Do not invent policies you do not have.

To test it, suspend and unsuspend a test account. For help, use the support page.

Quick recap

  • Suspension pauses an account without deleting data.
  • The email comes from a template.
  • Edit it in the panel, or copy the template to the custom folder.
  • Keep the placeholder words that look like |name|.