cPanel Create and Delete eMail via Command Line

Issue: cPanel server, sysadmin needs to create or remove email accounts via the command line.

Solution: SSH into server as root, and use the following.

Add an email account:

/scripts/addpop <user>@<> password quota

Note: Password should be no longer that 18 characters.

Remove an existing email account:

/scripts/delpop <user>@<>

Leave a comment