Creating Email Accounts

Discussion in 'General' started by alexillsley, Mar 26, 2007.

  1. alexillsley

    alexillsley New Member

    Hello,
    is there any php function in ispconfig that will create only an email account for website. So this account space quota would go into the selected site. If theres no such php function created inside ispconfig, could you show me a small script to create an email account with a function similar to the following:
    create_email("web","email","password");

    Thanks,
    Alex
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such function in ISPConfig beacuse the postfix configuration files where written at once for all accounts and the linux system user is created by another function.

    have a look at the file /root/ispconfig/scripts/lib/config.lib.php and at the other files in /root/ispconfig/scripts/lib/classes/ if you want to learn how this works.
     

Share This Page