Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • 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

Duncan
0
duncanb7
Asked:
duncanb7
  • 3
1 Solution
 
xtermCommented:
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.
0
 
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

thanks

Duncan
0
 
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

Duncan
0
 
duncanb7Author Commented:
Thanks


Have a nice working day


Duncan
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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