[adding list back to response] On Wed, Oct 29, 2014 at 12:57 PM, Jon Hoffart <[email protected]> wrote:
> Bryan, > Thanks for the info on proxy protocol. The problem I run into it > is I am running postfix 2.9.6 not 2.10. Is there any solutions for systems > running postfix versions older then 2.10? > > You can try running as a transparent proxy but that might be much more complicated than simply upgrading postfix. I've not needed to do this, but here's a blog post that covers the basics. It's from last year but AFAIK, should still apply for haproxy 1.5. http://blog.haproxy.com/2013/09/16/howto-transparent-proxying-and-binding-with-haproxy-and-aloha-load-balancer/ -Bryan > thanks, > Jon Hoffart > > > > On Oct 22, 2014, at 3:20 PM, Bryan Talbot <[email protected]> > wrote: > > > On Wed, Oct 22, 2014 at 1:50 PM, Jon Hoffart <[email protected]> > wrote: > > Hello, > > I am doing some experimenting with HAproxy an balancing one of > our mail servers. I was wondering if there is any way to have HAproxy do a > reverse DNS as the mail log always shows the client ip as the server in > which HAproxy is installed and not the IP of the client were the mail > message originated for example here is a couple lines out of the log: > > > > > > > > This really has nothing to do with DNS. I think what would make you > happy is to use the proxy protocol: > http://blog.haproxy.com/2012/06/30/efficient-smtp-relay-infrastructure-with-postfix-and-load-balancers/ > > > > -Bryan > > > > > This e-mail and any attachments may contain confidential material that may > not be disclosed, copied or distributed. If you are not the intended > recipient(s), please contact the sender and delete all copies. >

