This is from the website the patch came from.. I am not shure how I would add this to make the chkuser patch work any help please ?
-John ------------------------ TMDA TMDA needs the straight check of user existance to be widened, allowing any address like "[EMAIL PROTECTED]" to be considered valid. This is an extension of the patch, that allows this behaviour. user_passwd = vauth_getpw (user.s, domain.s); + if (user_passwd == NULL) { + count = 0; + while ((count < (user.len -1)) && (user_passwd == NULL)) { + count += byte_chr(&user.s[count], user.len - count,'-'); + if (count < user.len) { + if (!stralloc_copyb (&alias_name, user.s, count)) die_nomem(); + if (!stralloc_0 (&alias_name)) die_nomem(); + user_passwd = vauth_getpw (alias_name.s, domain.s); + ++count; + } + } + } if (user_passwd != NULL) { This code makes a recursive search, starting from left, and looking for each '-' character, until a valid user is found or string is ended. Be aware to change the '-' constant to whatever you need for your TMDA system.