patch sqwebmail or courier authlib for work with % instead @ ?
-= Texilee =- <[email protected]> Thu, 5 May 2005 11:19:46 +0200
| Newsgroups | gmane.mail.sqwebmail |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I've a problem when I try to use mail address=20 example%foo.bar instaed [email protected] in version 3.3.4 i've patched =20 sqwebmail-3.3.4/authlib/preauthvchkpw.c=20 auth.sysuserid=3D&uid; =09auth.sysgroupid=3Dgid; =09auth.homedir=3Dvpw->pw_dir; // patch i=3D0; while(userid[i] !=3D '\0') { if (userid[i] =3D=3D '%') { userid[i] =3D '@'; break; } if (userid[i] =3D=3D '@') { break; } i++; } // end patch =09auth.address=3Duserid; =09auth.fullname=3Dvpw->pw_gecos; =09auth.passwd=3Dvpw->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=20 src courier authlib preauthvchkpw but it doesn't works...=20 you can see the result in your example... =20 user webmail%webmail.com=20 pass webmail address it will webmail%[email protected] 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=20 bye bye=20 Texilee