File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
web/Modules/Email/App/Console Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ public function __construct()
3434 */
3535 public function handle ()
3636 {
37-
3837 $ this ->info ('Setting up email server... ' );
3938
4039 $ workPath = '/usr/local/phyre/email/docker ' ;
@@ -51,7 +50,7 @@ public function handle()
5150 shell_exec ('mkdir -p ' . $ workPath );
5251 file_put_contents ($ workPath . '/docker-compose.yaml ' , $ dockerComposeYaml );
5352
54- $ ssl = DomainSslCertificate::where ('domain ' , $ domain )->first ();
53+ $ ssl = DomainSslCertificate::where ('domain ' , ' mail. ' . $ domain )->first ();
5554 if ($ ssl ) {
5655 shell_exec ('mkdir -p ' . $ workPath . '/docker-data/acme-companion/certs/ ' . $ domain );
5756 file_put_contents ($ workPath . '/docker-data/acme-companion/certs/ ' . $ domain . '/fullchain.pem ' , $ ssl ->certificate_chain );
@@ -64,9 +63,11 @@ public function handle()
6463
6564 // after compose you must create the email account
6665
67- //docker exec -ti cc85629c8ad5 setup email add peter@allsidepixels.com passwd123
66+ //docker exec -ti c2d4fec32239 setup email add peter@allsidepixels.com passwd123
67+
68+ //docker exec -ti c2d4fec32239 setup email add boris@allsidepixels.com passwd123
6869
69- // docker exec -it cc85629c8ad5 setup config dkim
70+ // docker exec -it c2d4fec32239 setup config dkim
7071
7172
7273 //ufw allow 25
You can’t perform that action at this time.
0 commit comments