Adding Email Users
Submitted by maz on Fri, 07/31/2009 - 18:53
Hi.
I wanted to do some modification of your ehcp, I understand that when adding new email user data will be inserted into the MySQL database, and I also understand that some changes has to be made in The IMAP server to make the email works.
Will u tell me where or in which file of your ehcp u do all this changes. I have gone thru your classapp.php file but I could not see where this is done. Can u guide me please.
see u
ehcpdeveloper
Fri, 07/31/2009 - 20:08
Permalink
take new file
take new file www.ehcp.net/ehcp_yeni.tgz
look at install_lib.php
at function installmailserver
everything is written there.
You cannot find those in classapp.php because, it is used after installation, but the email changes to system is done while installing ehcp.
it is also similar in current version of ehcp, but in the newer file above, it is more clean.
steven
Wed, 08/19/2009 - 21:07
Permalink
How to add emails in bulk
I am expecting to get instructions in the next day or so to add about 250 email users to a VH. I need to be prepared for this because I will have to complete the task in a matter of a few days. In that time I will have to set up the new server, get the domain, test, etc. etc.
What I want to do :-
Firstly, I would like to add the users from a file which contain names of clients of managed web hosting services along with the windows web hosting services and now i am thinking to add here a list of people who are using cheap linux hosting services.
Secondly, I would like to force a change of password the first time a user picks up email which might be by POP or webmail.
I can't see any way of bulk adding or forcing password change in the process.
Anybody have any thoughts please.
ehcpdeveloper
Wed, 08/19/2009 - 22:11
Permalink
bulk email user add
update emailusers set password=encrypt('newpass','ehcp') where email='info@example.com';
"insert into emailusers (panelusername,domainname,mailusername,email,password,quota,status) values ('admin','example.com','info','info@example.com',encrypt('password','ehcp'),'1000000','active');
ehcpdeveloper
Fri, 07/31/2009 - 20:10
Permalink
in fact, ehcp can be used in
in fact, ehcp can be used in similar way, a base for :
because ehcp manages all operations through information in mysql tables,