The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

POP3 On Another Port (like SMTP)

Discussion in 'E-mail Discussions' started by tmellon, Aug 29, 2004.

  1. tmellon

    tmellon Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sarasota, FL
    Hello,

    I have a customer that needs POP3 on another port (like you can do with smtp), because his ISP has not only blocked port 25, but also 110 (nice host, huh?).

    Is there a way to configure the server to use like port 111 or 1100 (or something like that), to pickup incoming mail as well?

    Thanks!
     
  2. OCX

    OCX Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    232
    Likes Received:
    0
    Trophy Points:
    16
    well that plan sucks..lol

    i would recomend your client using webmail if his incoming port is blocked

    the other alternitive would be to use another server for incoming and outgoing mail
    and set that server on another port as your wanting to do..
     
  3. jester.ro

    jester.ro Well-Known Member
    PartnerNOC

    Joined:
    Feb 6, 2004
    Messages:
    304
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest, Romania
    cPanel Access Level:
    DataCenter Provider
    is imap port (143) blocked as well?

    what kind of ISP is that?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You can use redir which simply forwards traffic from one port to another:
    http://sammy.net/~sammy/hacks/

    So, you can set it up to listen on port 1100 and connect to port 110. The user then just changes their email client to use port 1100 instead of 110. Simple :)

    Btw, if you need help setting it up, feel free to PM me, unless others want the details here.
     
    #4 chirpy, Aug 30, 2004
    Last edited: Aug 30, 2004
  5. tmellon

    tmellon Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sarasota, FL
    I didn't think about imap, I'll pass that long so he can test it out.

    He's in Israel. Not sure which ISP exactly. Not a very nice one, though ;)

    If you can share the details in how to setup redir here, that would be great! I'm sure other would like to know as well :)

    Thanks!

    Tonya
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The rudimentaries are:
    Code:
    wget http://sammy.net/~sammy/hacks/redir-2.2.1.tar.gz
    tar -xzf redir-2.2.1.tar.gz
    cd redir-2.2.1
    make
    ./redir --lport=6666 --cport=110 &
    
    You'll probably want to move redir somewhere more convenient such as /usr/bin/ and put that last command at the bottom of your /etc/rc.d/rc.local so that it restarts after a reboot.

    This will run up redir to listen on port 6666 and forward to port 110. Don't forget to open port 6666 on your server firewall.
     
Loading...

Share This Page