how to automaticly accepting new added "Domain aliases" ? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: how to automaticly accepting new added "Domain aliases" ? (/thread-8162.html) |
how to automaticly accepting new added "Domain aliases" ? - dzimi83 - 10-19-2009 06:22 AM Hi, I just wondering - how to setup ispcp to automaticly accepting new added "Domain aliases" ? is it possible from UI or I have to set up it from scratch in ispcp sources/templates ? I am new in ISPCP user group I would like to know a bit more about the ispcp to be able to make my own enhancements. RE: how to automaticly accepting new added "Domain aliases" ? - gOOvER - 10-19-2009 03:53 PM Out of the Box it's not possible. The was build in for security reasons. With this, a customer is not able to add domains like yahoo.com, etc RE: how to automaticly accepting new added "Domain aliases" ? - dzimi83 - 10-19-2009 06:58 PM oh, I see. But if I would like to has it what and where I have to change ? I think that this can be done using cron. ie: 1. read the current state from sql (alias_status from domain_aliasses) 2. run/connect to the ispcp-rqst-mngr or ispcp-serv-mngr and enable/add the domain alias automaticly and here is a problem for me. I can write a small php cli program for reading the domain_aliasses state from SQL, I can write a part of code to connecting to the ispcp daemon but how to add or what parameters do I have to add to the deamon for has it done ? The second way is to write the small php script using curl to: 1. read the id from current state of domain alias (id and alias_status from domain_aliasses) 2. get session/cookie from reseller login form 3. run the reseller/alias_order.php?action=activate&act_id=ID (where ID is a sql id from a domain_aliasses table). Am I right ? I thking that the first option should be good but as I said - I can't manage the ispcp daemon request, is it somewhere good documented ? RE: how to automaticly accepting new added "Domain aliases" ? - joximu - 10-20-2009 12:14 AM the ispcp_daemon request is documented in the code :-) Have a llook in ispcp-functions.php - function send_request /J RE: how to automaticly accepting new added "Domain aliases" ? - kilburn - 10-21-2009 10:39 PM Basically, the thing goes just like this: Code: # telnet localhost 9876 RE: how to automaticly accepting new added "Domain aliases" ? - ender049 - 10-30-2009 08:44 PM I need the automaticly accepting too. is there any way easy to do that ? RE: how to automaticly accepting new added "Domain aliases" ? - kilburn - 10-30-2009 08:45 PM What do you mean by "automatically accepting"? RE: how to automaticly accepting new added "Domain aliases" ? - joximu - 10-30-2009 09:29 PM I think he means: every customer can add a domain alias, eg. gmail.com and then fish all mails which is going through the server and is addressed to @gmail.com... So theres no control, what domains are being registered... And I don't support this - this is not the way an ISP should handle domain adding. fullstop. RE: how to automaticly accepting new added "Domain aliases" ? - ender049 - 10-30-2009 11:39 PM yes ,I mean the same of dzimi83 . customer can add a domain alias which they want. I know it is not well. but I have no such time to accept the domain alias adding. |