Creating eMail Accounts from SSH

Cheerag Nundlall

Well-known member
Registered
Joined
Oct 12, 2016
Messages
333
Points
18
I have cPanel is running on a VPS, normally I can create emails in cPanel but I want to know if its possible to email accounts from SSH?
 

miken

Member
Registered
Joined
Feb 6, 2015
Messages
61
Points
8
I will guide you how to create a mail account via SSH. Basically, you can create email account via cPanel with a friendly UI but creating an email account in SSH is completed faster and simpler.
To create email account from SSH, you need to have root account and using CD command to reach out to Scripts directory.

#cd /scripts

When you are moved to script folder, you type ./addpop

At this step, it will ask you for email account name and password.

If you just enter your personal information and press "Enter", your mail account will be created.

This process is simple.

Creating eMail Accounts from SSH.jpg

Hope it helps!
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
You can also use

/scripts/addpop --email=[email protected] --password=yourpassword --quota=1024

Example :- For domain opsshield.test and want to create an email account test with a password emailpass and quota 1000 use,

/scripts/addpop --email=[email protected] --password=emailpass --quota=1000
 

qbeststar

Well-known member
Hosting Provider
Registered
Joined
May 6, 2017
Messages
120
Points
18

sandraharriette

Member
Registered
Joined
Sep 3, 2017
Messages
16
Points
3
I have cPanel is running on a VPS, normally I can create emails in cPanel but I want to know if its possible to email accounts from SSH?
I don't have an answer per se, but a behind the scenes question rather.

How were you able to set up that cPanel without having a hosting account already with another cloud-based provider?

I know that's probably a really green question. I'm in the beginning stages of grasping this and using reverse engineering to comprehend this.
 
Older Threads
Replies
6
Views
1,352
Replies
3
Views
1,265
Replies
8
Views
1,389
Replies
4
Views
1,524
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top