-= Texilee =-
2005-05-05 09:19:46 UTC
Hi all,
I've a problem when I try to use mail address
example%foo.bar instaed ***@foo.bar
in version 3.3.4 i've patched
sqwebmail-3.3.4/authlib/preauthvchkpw.c
auth.sysuserid=&uid;
auth.sysgroupid=gid;
auth.homedir=vpw->pw_dir;
// patch
i=0;
while(userid[i] != '\0')
{
if (userid[i] == '%')
{
userid[i] = '@';
break;
}
if (userid[i] == '@')
{
break;
}
i++;
}
// end patch
auth.address=userid;
auth.fullname=vpw->pw_gecos;
auth.passwd=vpw->pw_passwd;
and that's works fine with email exmaple%foo.bar
Now my system works fine with current version... so I try to patch
src courier authlib preauthvchkpw but it doesn't works...
you can see the result in your example...
user webmail%webmail.com
pass webmail
address it will webmail%***@inter7.com
this is a little patch but it's important for me.
finally.. where is the correct place to replace login field from "%" to "@" ?
sorry for my poor english :-)
thanks
bye bye
Texilee
I've a problem when I try to use mail address
example%foo.bar instaed ***@foo.bar
in version 3.3.4 i've patched
sqwebmail-3.3.4/authlib/preauthvchkpw.c
auth.sysuserid=&uid;
auth.sysgroupid=gid;
auth.homedir=vpw->pw_dir;
// patch
i=0;
while(userid[i] != '\0')
{
if (userid[i] == '%')
{
userid[i] = '@';
break;
}
if (userid[i] == '@')
{
break;
}
i++;
}
// end patch
auth.address=userid;
auth.fullname=vpw->pw_gecos;
auth.passwd=vpw->pw_passwd;
and that's works fine with email exmaple%foo.bar
Now my system works fine with current version... so I try to patch
src courier authlib preauthvchkpw but it doesn't works...
you can see the result in your example...
user webmail%webmail.com
pass webmail
address it will webmail%***@inter7.com
this is a little patch but it's important for me.
finally.. where is the correct place to replace login field from "%" to "@" ?
sorry for my poor english :-)
thanks
bye bye
Texilee