mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-12 02:20:12 +08:00
feat: add imap proxy server (#225)
This commit is contained in:
@@ -123,14 +123,14 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {
|
||||
text: '通过 Github Actions 部署',
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: '开发中', link: 'github-action' },
|
||||
{ text: '通过 Github Actions 部署', link: 'github-action' },
|
||||
]
|
||||
},
|
||||
{
|
||||
text: '附加功能',
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: '配置 SMTP 代理服务', link: 'feature/config-smtp-proxy' },
|
||||
{ text: '配置 SMTP IMAP 代理服务', link: 'feature/config-smtp-proxy' },
|
||||
{ text: '发送邮件 API', link: 'feature/send-mail-api' },
|
||||
{ text: '查看邮件 API', link: 'feature/mail-api' },
|
||||
{ text: '配置子域名邮箱', link: 'feature/subdomain' },
|
||||
|
||||
BIN
vitepress-docs/docs/public/feature/imap.png
Normal file
BIN
vitepress-docs/docs/public/feature/imap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -1,10 +1,10 @@
|
||||
# 搭建 SMTP 代理服务
|
||||
# 搭建 SMTP IMAP 代理服务
|
||||
|
||||
## 为什么需要 SMTP 代理服务
|
||||
## 为什么需要 SMTP IMAP 代理服务
|
||||
|
||||
SMTP 的应用场景更加广泛
|
||||
`SMTP` `IMAP` 的应用场景更加广泛
|
||||
|
||||
## 如何搭建 SMTP 代理服务
|
||||
## 如何搭建 SMTP IMAP 代理服务
|
||||
|
||||
### Local Run
|
||||
|
||||
@@ -16,7 +16,7 @@ cd smtp_proxy_server/
|
||||
cp .env.example .env
|
||||
python3 -m venv venv
|
||||
./venv/bin/python3 -m pip install -r requirements.txt
|
||||
./venv/bin/python3 server.py
|
||||
./venv/bin/python3 main.py
|
||||
```
|
||||
|
||||
### Docker Run
|
||||
@@ -32,10 +32,21 @@ docker-compose up -d
|
||||
services:
|
||||
smtp_proxy_server:
|
||||
image: ghcr.io/dreamhunter2333/cloudflare_temp_email/smtp_proxy_server:latest
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: dockerfile
|
||||
container_name: "smtp_proxy_server"
|
||||
ports:
|
||||
- "8025:8025"
|
||||
- "11143:11143"
|
||||
environment:
|
||||
- proxy_url=https://temp-email-api.xxx.xxx
|
||||
- port=8025
|
||||
- imap_port=11143
|
||||
```
|
||||
|
||||
## 使用 Thunderbird 登录
|
||||
|
||||
下载 [Thunderbird](https://www.thunderbird.net/en-US/)
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user