Well, it seems I have solved my own dilemma! The included is how I accomplished it, just in case anyone needs to do something similar. 1. Copied include/hooks.php to include/local.hooks.php to preserve = original 2. In include/local.hooks.php modified function hook_usernameLookup($username, %password) as follows function hook_usernameLookup($username, $password) { $_users[$username] =3D $username . "%domain.com"; //Added this hook $_users['publicj'] =3D 'actualusername_1'; $_users['foobar'] =3D 'actualusername_2'; if (!empty($_users[$username])) { return array($_users[$username], $password); } else { return array($username, $password); } } 3. In htdocs/login.php modified line 116 from $SESSION['userprefs']['settings']['email_address'] =3D @$HOSTINFO['username_is_email'] ? $SESSION['email']['user'] : $SESSION['email']['user'] . '@' . $domain; -to- $SESSION['userprefs']['settings']['email_address'] =3D @$HOSTINFO['username_is_email'] ? ereg_replace('%', '@', $SESSION['email']['user']) : $SESSION['email']['user'] . '@' . $domain; hope this helps someone else also! R/Joshua -----Original Message----- From: v-webmail-bounce@xxxxxxxxxxxxx = [mailto:v-webmail-bounce@xxxxxxxxxxxxx] On Behalf Of Joshua Broussard Sent: Friday, June 20, 2003 8:38 PM To: v-webmail@xxxxxxxxxxxxx Subject: [v-webmail] problems reconfiguring login for v-webmail I am at a loss for how to modify this program the way I want, and was = hoping that someone might be able to help. =20 Basically what I am trying to figure out is as follows: =20 Login to email at my domain is 'username%domain.com' I want to set up v-webmail so it automatically appends the '%domain.com' to the = 'username'. I also want to prevent the user from having multiple identities. that way = the only email they can send has a header that shows 'username@xxxxxxxxxx'. =20 The code for this program is nothing like the code for ANY other PHP program. It uses calls in a way I have never seen before, granted I am fairly new to PHP. I cannot seem to follow the code enough to make this work. Please any help anyone can provide would be greatly appreciated! =20 R/Joshua --=20 V-webmail Support Mailing List (http://www.v-webmail.org) Archives: //www.freelists.org/archives/v-webmail/ To unsubscribe, send mail to: v-webmail-request@xxxxxxxxxxxxx with "unsubscribe" in the subject -- V-webmail Support Mailing List (http://www.v-webmail.org) Archives: //www.freelists.org/archives/v-webmail/ To unsubscribe, send mail to: v-webmail-request@xxxxxxxxxxxxx with "unsubscribe" in the subject