# EXMail **Repository Path**: rjry/exmail ## Basic Information - **Project Name**: EXMail - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-14 - **Last Updated**: 2021-10-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README EXMail =============== > PHP 7.2 ### Git Config ``` # 全局配置 $ git config --global user.name "rjry" $ git config --global user.email "rjry123@163.com" # 记住帐密 $ git config --global credential.helper store ``` ### Git Hub ``` $ git clone https://gitee.com/rjry/exmail.git $ git clone https://gitee.com/rjry/exmail-server.git $ git clone https://gitee.com/rjry/exmail-sender.git $ git clone https://gitee.com/rjry/exmail-tracker.git $ git clone https://gitee.com/rjry/exmail-console.git ``` ### PhpRedisAdmin [Ip + Port: 6380] ``` $ git clone https://gitee.com/rjry/phpredisadmin.git phpredisadmin $ git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git phpredisadmin $ cd phpredisadmin $ git clone https://github.com/nrk/predis.git vendor $ cd /phpredisadmin/includes/ $ cp config.sample.inc.php config.inc.php // Uncomment to enable HTTP authentication 'login' => array( 'admin' => array( 'password' => 'xxxxxx', ), ), ``` ### WebSocket ``` 1.在 server 上方添加以下代码: map $http_upgrade $connection_upgrade { default upgrade; '' close; } upstream websocket { server 127.0.0.1:9527; } 2.搜索 #SSL-END 在这串注释后面加上以下代码: # Nginx代理WSS # wss://xxx.xxx/socket location /socket { proxy_pass http://127.0.0.1:9527; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } ``` ### Install ``` [服务端] 1. .env 2. sql.sql 3. php think googleSecretKey init [客户端] 1. exmail.sh 2. php think register [服务端地址] [客户端编号] [管理端] 1. env.json ```