On 01 Nov 2014, at 20:41, Roman Naumenko <ro...@naumenko.ca> wrote: > I'm trying to setup postfix behind haproxy for hailover and loadbalancing > purpose. It works fine with > > smtpd_upstream_proxy_protocol = haproxy > > but internal systems like amavis can't deliver mail locally, because :25 is > no longer accepts standard smtp. > > Is it possible to configure non-proxy smtpd on port 25 and proxy-smtpd on > other simultaneously?
Not simultaneously, unless you bind haproxy to the public IP address, and a regular smtpd to localhost, and have amavis deliver on localhost. Or you could have amavis deliver on an alternate port, and bind a regular smtpd there? Mvg, Joni