czb
V2EX  ›  问与答

IMAP 代理

  •  
  •   czb · Apr 10, 2015 · 4588 views
    This topic created in 4139 days ago, the information mentioned may be changed or developed.
    最近想做一个Gmail的IMAP,SMTP代理,不知道该用什么好呢?
    10 replies    2015-04-17 12:03:08 +08:00
    vibbow
        1
    vibbow  
       Apr 10, 2015
    端口转发即可
    msg7086
        2
    msg7086  
       Apr 10, 2015
    也可以试试nginx,如果不在意中间人的话。
    Septembers
        3
    Septembers  
       Apr 10, 2015
    haproxy
    Septembers
        4
    Septembers  
       Apr 10, 2015
    如果要支持TLS请使用sniproxy
    002jnm
        5
    002jnm  
       Apr 10, 2015
    socat
    czb
        6
    czb  
    OP
       Apr 10, 2015
    @vibbow 端口转发能做到跳板作用?
    wy315700
        7
    wy315700  
       Apr 10, 2015
    @czb 可以 我就一直在用
    czb
        8
    czb  
    OP
       Apr 10, 2015
    @wy315700 方便把命令放上来吗,我的老是不行,谢谢了
    wy315700
        9
    wy315700  
       Apr 10, 2015   ❤️ 1
    @czb 我用的xinetd
    service imap
    {
    type = UNLISTED
    port = 993
    bind = 0.0.0.0
    socket_type = stream
    wait = no
    user = nobody
    redirect = imap.gmail.com 993
    per_source = UNLIMITED
    cps = 100 2
    }
    service imap-585
    {
    type = UNLISTED
    port = 585
    bind = 0.0.0.0
    socket_type = stream
    wait = no
    user = nobody
    redirect = imap.gmail.com 585
    per_source = UNLIMITED
    cps = 100 2
    }
    lyf362345
        10
    lyf362345  
       Apr 17, 2015
    @wy315700 用你这个例子在自己 vps 测试了 smtp 和 imap, 很不错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2738 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 05:25 · PVG 13:25 · LAX 22:25 · JFK 01:25
    ♥ Do have faith in what you're doing.