• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 498
  • Last Modified:

Create Mail folder for new users on Linux without Cpanel help

Dear Experts,

As we know we can easily create user account for our users with root access.
and I can make the new user directory such as /home/newusers/public_html
for the new users. And then i can setup all http web site access in /usr/local/
apache/conf/httpd.conf file.   Up to this moment we can handle things easily,
and  i don't need any cpanel involvement.

How I can create new email  account and new email folder located at
/home/newuser/mail/newusersite.com  without Cpanel help since it is expired
I just want to do it manually on Linux root shell

Now I just see the newuser email account name at /var/spool/mail after adduser command

Hope you understand my question, set up basiic email stuff for new users without
Cpanel help and make it on Linux shell since my Cpanel is no longer to be used
since its expiration.

Now I am using squirrel mail wbe tools, and in the past Cpanel is using Exim, and
I also can run sendmail command on linux

Please advise

  • 3
1 Solution
Look at the file /usr/local/cpanel/scripts/createacct

Looks like the syntax is 'createacct <domain name> <username> <password>" but you might want to google that up to be sure.

Hope that works for you.
duncanb7Author Commented:
This will continue after google search as you suggest, and I will
take a rest and offline and will continue this thread after 8 hours


duncanb7Author Commented:
since your suggestion is solved my issue and run it at linux shell without
Cpanel on Web page and its license help, and so classified it as solution
on linux shell

duncanb7Author Commented:

Have a nice working day

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now