[prev in list] [next in list] [prev in thread] [next in thread]
List: vchkpw
Subject: [vchkpw] Error in punycode (xn-- domains) handling by chkuser
From: "Tonix (Antonio Nati)" <tonix () interazioni ! it>
Date: 2010-10-14 14:15:38
Message-ID: 4CB7108A.4030104 () interazioni ! it
[Download RAW message or body]
Actually chkuser handles xn-- domains, but in the wrong way (it does
not consider more levels of xn-- names, like xn-subdomain.xn--domain.com).
To eliminate any problem, with current version, installations should be
modified in this way:
Or disable/comment in chkuser_settings.h
#define CHKUSER_RCPT_FORMAT
#define CHKUSER_SENDER_FORMAT
or delete/comment within chkuser.c two separates occurrences of
if (strncmp (domain->s, "xn--", 4) == 0) {
if (strstr (&domain->s[4], "--") != NULL)
return 0;
} else {
if (strstr (domain->s, "--") != NULL)
return 0;
}
Recompile after change.
Regards,
Tonino
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it tonix@interazioni.it
------------------------------------------------------------
!DSPAM:4cb7108d32711560260518!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic