惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
Spread Privacy
Spread Privacy
I
InfoQ
V
V2EX
S
Schneier on Security
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Latest news
Latest news
S
Secure Thoughts
Project Zero
Project Zero
MongoDB | Blog
MongoDB | Blog
I
Intezer
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
N
Netflix TechBlog - Medium
V2EX - 技术
V2EX - 技术
量子位
T
Threatpost
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tor Project blog
A
Arctic Wolf
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
L
LINUX DO - 热门话题

WishMeLz - 未分类

柯尼卡美能达 bizhub C226 复印机 SMB 扫描到电脑配置教程 minio 最后的绝唱 搭建配置流程 - WishMeLz 港卡,CSL 记录 - WishMeLz Safari 解锁 120hz - WishMeLz Racknerd 2025 黑五闪购套餐汇总 - WishMeLz 香港各大机房/商家测试 IP 整理|DMIT、BWG、LocVPS、SurferCloud、UCloud、51IDC 等 NodeBB 搭建安装笔记 v4.x - WishMeLz 阿里云保备案,不花一分钱 - WishMeLz App Store App历史版本下载 - WishMeLz
CraneMail 优化访问速度之 - Stunnel/HAProxy - WishMeLz
WishMeLz · 2025-11-29 · via WishMeLz - 未分类

HAProxy

haproxy.cfg

global
    log stdout format raw local0
    maxconn 4096

defaults
    mode tcp
    timeout connect 10s
    timeout client 1m
    timeout server 1m

# =============================
# IMAPS - 993 转发
# =============================
frontend imaps_in
    bind *:993
    default_backend imaps_out

backend imaps_out
    server imap_server eu1.workspace.org:993 check


# =============================
# SMTPS - 465 转发
# =============================
frontend smtps_in
    bind *:465
    default_backend smtps_out

backend smtps_out
    server smtp_server eu1.workspace.org:465 check

docker-compose.yml

version: '3.8'

services:
  haproxy:
    image: haproxy:lts
    container_name: haproxy-mail-proxy
    restart: always
    ports:
      - "993:993"   # IMAPS
      - "465:465"   # SMTPS
    volumes:
      - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro

最后编辑时间为: November 29th , 2025 at 09:58 pm
本文由 Wish 创作,采用 知识共享署名 4.0 国际许可协议进行许可
可自由转载、引用,但需署名作者且注明文章出处

标签 : 无标签