Create new email account in ssh console

warrence

Active Member
May 8, 2005
33
0
156
Hi, anyone know how to create new email account in consolve/command line without using cpanel webbased application?

Thanks in advance!
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
Off the top of my head, /scripts/addpop (or something similar).

Take a look at the contents of /scripts and view the contents of a script to figure out what it does. If you can't figure out what a script does by looking through the contents, you'd probably be best of leaving it alone.
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Hi warrence,
Did you got any results with /scripts/addpop from commend line?
If so, can you share that info?
Thanks
Gustavo
 

pannu

Registered
Sep 8, 2006
1
0
151
The following appeared to be working for me.

/scripts/addpop user_id@virtual_domain.com user_password

But this did not set the email quota for the user.

I figured out that if I edit

/home/account_name/etc/virtual_domain.com/quota and add a line with

user_id:quota_in_bytes

it takes care of the quota setting.

BTW: 1K of quota = 1024, 1M = 1024x1024