On Thu, Aug 20, 2015 at 10:24:26PM +0300, Nikolaos Milas wrote: > With the setting: > > smtpd_upstream_proxy_protocol = haproxy > > does postfix expect the HAPROXY header line from ALL clients?
Yes. > If so, how can > we enforce the above setting e.g. ONLY for the ip address(es) of the proxy? Have the proxy connect to a dedicated smtpd(8) instance in master.cf listening on a dedicated ip/port. Allow only the proxy to connect there, and turn on haproxy support for just that instance. -- Viktor.