↑ ↓ select, Enter open, Esc close

List all email addresses on a Plesk server

root@server
plesk db "SELECT CONCAT(m.mail_name, '@', d.name) AS adresse, m.postbox FROM mail m JOIN domains d ON d.id = m.dom_id ORDER BY d.name, m.mail_name"

Reads all mail addresses directly from the Plesk database psa and prints them as a table. The postbox column shows whether the address has a mailbox or only forwards. Useful for inventories and migration planning.

Also searched as

  • show all email addresses on server plesk
  • export plesk mailboxes
  • which email accounts exist plesk

Related one-liners

All in Plesk

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.