Api or script for ispconfig

Discussion in 'Tips/Tricks/Mods' started by Alessio calvio, Mar 2, 2021.

  1. Alessio calvio

    Alessio calvio New Member HowtoForge Supporter

    Hello, I find myself managing a few dozen linux corporate mail servers (smeserver contrib.org)
    I would like to use my ispconfig conme mx backup server for these mail servers but I find myself having to manage adding a mail user or editing always by hand.
    I would like to know if there is an api or a bash script to be able to:
    add or delete a user (mailbox)
    add or edit an alias
    change mailbox pass.
    maybe i could go direct on mysql but i don't want to lose compatibility with future ispconfig changes.
    I would like to understand if there is some kind of wrapper.
    Thanks to the availability
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig has a SOAP and REST-based remote api. See e.g. remote_client folder in ISPConfig tar.gz file for some examples.
     
  3. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    There is the remote api you can use directly, or if you only want to manage mail related things, this php class would probably get you by.
     
  4. Alessio calvio

    Alessio calvio New Member HowtoForge Supporter

    thanks for information.
    Have a nice day
     

Share This Page