Re: Support For Postfix

2015-03-16 Thread Baptiste
Let me rephrase this: your version of postfix is too old and does not
include the proxy protocol.
Please use postfix 2.10 or above.

Baptiste

On Mon, Mar 16, 2015 at 4:26 PM, adcd gmail  wrote:
> I read this but I dont understand how it is related to postfix not knowing
> this config parameter
> maybe the compiled version doesnt include this?
>
>
>
> On Mon, 16 Mar 2015 14:52:37 +0200, Baptiste  wrote:
>
>>> Hi, thanks for the reply
>>> 2.9.6
>>>
>>>
>>
>> Proxy protocol is available in Postfix since version 2.10:
>>http://blog.haproxy.com/haproxy/proxy-protocol/
>>
>> Baptiste
>
>
>
> --
> Using Opera's mail client: http://www.opera.com/mail/



Re: Support For Postfix

2015-03-16 Thread Baptiste
> Hi, thanks for the reply
> 2.9.6
>
>

Proxy protocol is available in Postfix since version 2.10:
   http://blog.haproxy.com/haproxy/proxy-protocol/

Baptiste



Re: Support For Postfix

2015-03-16 Thread adcd gmail

Hi, thanks for the reply
2.9.6



On Sun, 15 Mar 2015 19:04:51 +0200, Aleksandar Lazic   
wrote:



Hi

Am 15-03-2015 15:02, schrieb adcd gmail:

Hi
I am struggling with haproxy and postfix
the load balance works well but it doesnt send the client ip address
to  the backend servers
I think it because of postfix configuration this what I get
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter:
postscreen_upstream_proxy_protocol=haproxy
I dont know what to do for postfix recognize this configuration
thank you


Which version of postfix do you use?

postconf mail_version

http://www.postfix.org/postconf.5.html#postscreen_upstream_proxy_protocol

#
postscreen_upstream_proxy_protocol (default: empty)

 The name of the proxy protocol used by an optional  
before-postscreen proxy agent. When a proxy agent is used, this protocol  
conveys local and remote address and port information. Specify  
"postscreen_upstream_proxy_protocol = haproxy" to enable the haproxy  
protocol.


 This feature is available in Postfix 2.10 and later.
#

Cheers A



--
Using Opera's mail client: http://www.opera.com/mail/



Re: Support For Postfix

2015-03-15 Thread Aleksandar Lazic

Hi

Am 15-03-2015 15:02, schrieb adcd gmail:

Hi
I am struggling with haproxy and postfix
the load balance works well but it doesnt send the client ip address
to  the backend servers
I think it because of postfix configuration this what I get
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter:
postscreen_upstream_proxy_protocol=haproxy
I dont know what to do for postfix recognize this configuration
thank you


Which version of postfix do you use?

postconf mail_version

http://www.postfix.org/postconf.5.html#postscreen_upstream_proxy_protocol

#
postscreen_upstream_proxy_protocol (default: empty)

The name of the proxy protocol used by an optional before-postscreen 
proxy agent. When a proxy agent is used, this protocol conveys local and 
remote address and port information. Specify 
"postscreen_upstream_proxy_protocol = haproxy" to enable the haproxy 
protocol.


This feature is available in Postfix 2.10 and later.
#

Cheers A