Link to home
Start Free TrialLog in
Avatar of duncanb7
duncanb7

asked on

Create many email account on same domain on Linux

Dear Experts,

I got one email account, support@mysite.com , that was created
in Cpanel, now my cpanel is expired and I had no longer to use it

Now today I need to find a new way to create two more email accounts.
But I don't know how to do it . And I am using Squirrel Mail web tool
that can Not be used for creating email account.

Now my old email account is at /home/mylogin/mai/mysite/support

I tried to make the addtional email account, for example, adm@mysite.cm
by copy the folder of support to new folder of adm,

but  sendmail comand could not vierfy adm@mysite.com as email account


Do you know there is some free mail tool for creating many email account
with the same domain site  without Cpanel Help ? Or you have method
to do it on linux shell command


Please advise
Duncan
Avatar of kerick
kerick

You should be able to just create users from command line

Example:

# adduser joe

 # passwd joe

follow any prompts


This would be if your server is the said domain.
Avatar of duncanb7

ASKER

but it is just going to
/var/spool/mail for newuser name
and I can find newuser name /home/newuser after adduser newuser

But I could not find anything at
/home/mylogin/mail/mysite.com/newusers folder as support
and be reminded support is not user but he also got support@mysite.com email address, why ?

sendmail -bv  command  could not verify it newuser@mysite.com as  email account.

it output " failed to verify: No Such User Here"


now my mail folder is

at /home/mylogin/mail/mysite.com/  that is set by Cpanel before

I am using Exim as mail server


Duncan
ASKER CERTIFIED SOLUTION
Avatar of xterm
xterm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
with help from Cpanel, we can add many email address at the same doman,
for example,  adm@mysite.com adm2@mysite.com...etc by following  perl script

at /usr/local/cpanel/scripts/addpop and new email account folder
is created at /home/mylogin/mail/mysite.com/adm or adm2

Now I can add many email account as I want  but still using  Cpanel


But if users are no cpanel used before, how linux users can handle such thing

Or sendmail or postix command will help to create many email address
for the same domain name such as mysite.com.



Please advise

Duncan
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks of all of your reply

Have a nice day

Duncan
At this moment, I may leave Cpanel on my linux since
my issue is fixed on linux shell even it is at cpanel script perl directory
, and if uninstall it I don't know what will happen, and I can not affort the risk
 to reinstall Linux, re-format my hard-disk or uninstall Cpanel since my database
on existing server is big except I buy new server.


DUncan
Sorry you still have to use cPanel, but I'm glad I was able to help you add users again.

It might be best if you get a new server at some point, migrate everything over, and then shut off the old server.