Add mailbox user script

Discussion in 'General' started by Mr. Pine, Jul 17, 2018.

  1. Mr. Pine

    Mr. Pine New Member

    Is there any way to add mailbox user via script?! I have old mail system with 300 mail users and want to migrate to ispconfig
    Any Help?!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, with the remote API. See examples in the remote_client subfolder of the ISPConfig tar.gz file.
    Mr. Pine likes this.
  3. Mr. Pine

    Mr. Pine New Member

    TNX till.
    I try to config soap_config.php ,(added rc user with proper permission)
    but when i run php -q mail_user_add.php got this error:
    SOAP Error: Could not connect to host
    It seems there is sth with https , How can I disable https certificate check?! any place to trace this error?!
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is php-soap installed on the target host?
  5. Mr. Pine

    Mr. Pine New Member

    php7.0-soap is already the newest version (7.0.30-0+deb9u1)

Share This Page