Opened 12 years ago

Closed 12 years ago

#323 closed enhancement (fixed)

Lack of IPv6 support for upstream in mail_auth_http_module

Reported by: Cédric de Saint Martin Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a: Linux COMP-164 3.1.9-1.4-default #1 SMP Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.3.14
configure arguments: --with-mail --prefix=/tmp/nginx --with-ipv6 --with-debug

Description

Mail proxy does not have support for IPv6 as upstream.
Simple configuration setting Auth-Server to any IPv6 (see attached configuration) will result in a server error when trying to send a mail (see attached error_log)

The same configuration, using an IPv4 address as upstream, will work.

Attachments (2)

error.log (13.2 KB ) - added by Cédric de Saint Martin 12 years ago.
nginx.conf (809 bytes ) - added by Cédric de Saint Martin 12 years ago.

Download all attachments as: .zip

Change History (9)

by Cédric de Saint Martin, 12 years ago

Attachment: error.log added

by Cédric de Saint Martin, 12 years ago

Attachment: nginx.conf added

comment:1 by Cédric de Saint Martin, 12 years ago

My description of behavior is bad, as I tried to workaround the IP validity a bit. The error actually happens while checking the IPv4 validity.

IPv6 is not supported nonetheless.

Is there anything planned on this point?

comment:2 by Ruslan Ermilov, 12 years ago

Status: newaccepted
Summary: Lack of IPv6 support for upstream in mail proxyLack of IPv6 support for upstream in mail_auth_http_module

comment:3 by Ruslan Ermilov, 12 years ago

Try this patch.

comment:4 by Cédric de Saint Martin, 12 years ago

Wow, thanks, that was not so far that what I was doing. I'll try this on monday.

comment:5 by Cédric de Saint Martin, 12 years ago

It works well at first glance. I'll deploy the whole infrastructure and do more tests and keep you informed.

comment:6 by Ruslan Ermilov, 12 years ago

In 5135/nginx:

(The changeset message doesn't reference this ticket)

comment:7 by Ruslan Ermilov, 12 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.