Current time: 04-25-2024, 11:04 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[HOWTO] Using the CLI to manage ispcp via command line (scripts)
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #50
RE: [HOWTO] Using the CLI to manage ispcp via command line (scripts)
Hi,

I just released another version, I cannot update the wiki page currently as there seem to be some problems on the wiki, but these are the major changes to scripts.

Two new functions:
.- change_domain_pass: The name is clear enough, give a domain, and the new password you want for that particular domain.
.- set_mail_limit: This allows us to set the mail limit (it could be extended to other variables) to any value we need.
For example, to disable mail for example.com, you can do:
Code:
php domain.php --domain example.com --action set_mail_limit --limit --1 #Note the doble hyphen

(07-31-2010 09:41 AM)help40 Wrote:  what about "disable user" and "enable user" for changing the "Status" of the users ?
I'll have a look to this, it could be interesting too.
I'm thinking on putting the code somewhere where the people can branch the code to make improvements...
(This post was last modified: 08-03-2010 11:54 PM by aseques.)
08-03-2010 11:52 PM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Using the CLI with ispcp - aseques - 05-08-2009, 11:26 PM
RE: [HOWTO] Using the CLI to manage ispcp via command line (scripts) - aseques - 08-03-2010 11:52 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)