Skip to content

Commit

Permalink
Update SetupDockerEmailServer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Sep 19, 2024
1 parent 177dba0 commit 1feb3fd
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions web/Modules/Email/App/Console/SetupDockerEmailServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,28 +77,7 @@ public function handle()

shell_exec('systemctl restart dovecot');
shell_exec('systemctl restart postfix');




// $universalDatabaseExecutor = new UniversalDatabaseExecutor(
// PhyreConfig::get('MYSQL_HOST', '127.0.0.1'),
// PhyreConfig::get('MYSQL_PORT', 3306),
// PhyreConfig::get('MYSQL_ROOT_USERNAME'),
// PhyreConfig::get('MYSQL_ROOT_PASSWORD'),
// );
//
// $createDb = $universalDatabaseExecutor->createDatabase('phyre_postfix');
// dd($createDb);
// $universalDatabaseExecutor->fixPasswordPolicy();
// $createUser = $universalDatabaseExecutor->createUser('phyre_postfix', 'phyre_postfix_password');
// dd($createUser);

// $universalDatabaseExecutor->userGrantPrivilegesToDatabase('phyre_postfix', [
// 'phyre_postfix'
// ]);



}

public function checkDNSValidation()
Expand Down

0 comments on commit 1feb3fd

Please sign in to comment.