How can I create e-mails accounts through the command line, without using the cPanel? Are there any script which I could use?
-Thanks
Romero Jśnior
How can I create e-mails accounts through the command line, without using the cPanel? Are there any script which I could use?
-Thanks
Romero Jśnior
Last edited by cPanelTristan; 05-26-2011 at 03:45 PM. Reason: unbolded text
Hello Romero,
You can use the following command in root SSH to create an email account:
Above please replace user@domain.com with the email account username and domain, password with the password for the email account being created, and quota# with the number for the quota in megabytes. For example, if you did the following:Code:/scripts/addpop user@domain.com password quota#
This would create an email admin@cptest.com with password p@nd@s and quota 100MB.Code:/scripts/addpop admin@cptest.com p@nd@s 100
Thanks!
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Forums Technical Analyst, cPanel Tech Support
Submit a ticket | Check an existing ticket
Thank you!![]()