haproxy protocol ipv6 support?

2018-07-12 Thread cvandesande
I've been successfully using Postfix 3.3.1 behind an Haproxy for a few weeks now, and while this is a minor complaint, I just wondered if it was known. I have dual-stack ipv4/v6 support enabled and as a result most of my mail that comes from Google comes from an ipv6 address. The IP address is no

Re: haproxy protocol ipv6 support?

2018-07-12 Thread cvandesande
Thanks for the reply- information regarding the protocols can be found here: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt But to save time, they switched to a non-text format, as you said. If I could code it I would :( 2.1. Human-readable header format (Version 1) This is the for

Re: ODMR/ATRN ?

2019-06-09 Thread cvandesande
Maybe something like I'm doing? I have 3 instances of postfix running (because I travel) but this can work with 2. 1 server in the cloud, 2 locally one home one office. The 2 local postfix instances only accept public email from the cloud VM, but they accept local email (ipcam's, for example on t

Re: ODMR/ATRN ?

2019-06-09 Thread cvandesande
Ha be critical if you want, I don't mind at all :P The main reason was reliability, as someone who's always breaking/rebuilding but also hosts their own email, I needed the email to spool somewhere in case I broke something for more than a few days. The local PF boxes are behind home NAT connecti

Re: ODMR/ATRN ?

2019-06-09 Thread cvandesande
Yeah exactly, The local instances also don't need to listen on the standard TCP ports, since they are always only getting email from the cloud VM. So the firewalls whitelist the cloud VM's IP and the email is coming in via non-standard ports so I don't have a horde of botnets trying to deliver gar

Re: ODMR/ATRN ?

2019-06-09 Thread cvandesande
Have a look at Postfix "transport maps" I think Weitse already suggested it and it's what I'm using. It's just a one liner config file. This is mine: $ cat /etc/postfix/transport_maps # Mail to anyone at opendmz.com is sent via SMTP to haproxy opendmz.com smtp:haproxy:10025 The haproxy is an un

Re: ODMR/ATRN ?

2019-06-09 Thread cvandesande
You can of course do this, and it will work. The only reason to run a separate Postfix would be in case your home server becomes unavailable, then the cloud VM will spool (hang onto) your message(s) until your home server becomes available again, and as soon as it's back it will deliver the messag