Yes, there is an error.
Indeed, I did not even remember there was a 'xn--' check. Such check
exists, but based on wrong assumption: it checks correctly 'xn--' only
at beginning of domain string, Instead, in your case, you have multiple
'xn--' definitions (second and third level).
You may disable/comment
#define CHKUSER_RCPT_FORMAT
#define CHKUSER_SENDER_FORMAT
or delete/comment two 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;
}
Regards,
Tonino
Il 14/10/2010 12:06, L. A. ha scritto:
Hi.
Have a little issue with my mail server qmt based.
When i try to send mail that uses punicode, chkuser don't let me do it:
In case of smtp session:
rcpt to:[email protected]
511 sorry, recipient address has invalid format (#5.1.1 - chkuser)
I review chkuser_settings.h and chkuser.c, as far as i can see there is some
code about xn-- values and even just --, but chkuser still don't let me send
mail to such users. I even try sender_nocheck use in tcp.smtp for my relay
clients but no luck.
Can somebody point me to the right direction how to fix this?
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
------------------------------------------------------------
in...@zioni Interazioni di Antonio Nati
http://www.interazioni.it [email protected]
------------------------------------------------------------