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>@<domain.com> password quota

Note: Password should be no longer that 18 characters.

Remove an existing email account:

/scripts/delpop <user>@<domain.com>

Leave a comment

BlogLogistics