Welcome! Log In Create A New Profile

Advanced

Re: [PATCH]: IPv6 SMTP proxy with XCLIENT

Maxim Dounin
August 22, 2011 09:08AM
Hello!

On Mon, Aug 22, 2011 at 02:45:19PM +0200, Brane F. Gračnar wrote:

> Hello!
>
> There is a issue with XCLIENT support when nginx listener is IPv6 enabled.
> Nginx sends the following command to upstream SMTP server:
>
> XCLIENT ADDR=2001:15c0:65ff:xxxx::yyyy NAME=[UNAVAILABLE]
>
> According to postfix docs (http://www.postfix.org/XCLIENT_README.html) IPv6
> client addresses should be prefixed with "IPV6:" string, so nginx should send
> the following xclient command to upstream:
>
> XCLIENT ADDR=IPV6:2001:15c0:65ff:xxxx::yyyy NAME=[UNAVAILABLE]
>
>
> Attached patch fixes this issue. It would be great if it would be included in
> upstream after careful review.

Thank you, the problem is definitely valid, though I don't like
the patch. It should check address family instead of searching
for ":" in address text representation. I'll take a look as time
permits.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[PATCH]: IPv6 SMTP proxy with XCLIENT

Brane F. Gračnar August 22, 2011 08:50AM

Re: [PATCH]: IPv6 SMTP proxy with XCLIENT

Maxim Dounin August 22, 2011 09:08AM

Re: [PATCH]: IPv6 SMTP proxy with XCLIENT

Brane F. Gračnar August 23, 2011 05:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready