Re: HAProxy and pop and smtp?

From: Kevin Maziere - Amen <kevin.maziere#amen.fr>
Date: Mon, 12 Nov 2007 18:50:31 +0100


Hi Rob,

I'm new in Haproxy too, I mean I used it since several weeks for http and imap proxy. For imap I used tcp mode on port 143, this work fine

listen imap 10.1.1.143:143

        maxconn 500
        mode tcp
        balance roundrobin
        server _1_ 10.1.1.144:143 c1 check inter 5000 fall 4 rise 1
        server _2_ 10.1.1.145:143 c2 check inter 5000 fall 4 rise 1
        stats enable

But I also need to be able to forward the source adress, but due to the way it works, I don't imagine that haproxy can send it on an non layer7 protocol, but as I said, I'm new in haproxy

I need the source IP on SSL two, but is there a way to do that without an ssl reverse-proxy, after reading docs on haproxy website, and on ssl protocol itself, not sur it is possible

Kevin

Rob Morin a écrit :
> Hello all , my first post to the list... so please be gentle with
> me.. :)
>
> I would like to know how one would use HAProxy fro pop, smtp and imap
> if possible.... i currently use it for http with the x-forward option
> which saved my life with respect to stats, thanks a million for that!
>
> I have been reading and have read how haproxy is a tcp load balancer
> as opposed just a http one... i would like to know how a config would
> look for smtp and pop and imap if possible.. I have search for info
> on this but have not seem anything that can help me with
> confidence... can someone please direct me me to docs or URLs that
> might aid me in this? Or does anyone here use smtp pop and imap with
> haproxy already? One last question if i can use smtp with haproxy, is
> there a way to forward the originating ip as haproxy does with http,
> with the x-forward option...
> Thanks and to all a good day/evening!
> :)
>
>
Received on 2007/11/12 18:50

This archive was generated by hypermail 2.2.0 : 2007/11/12 19:30 CET