Long email logins criple email function

Long email logins criple email function

I couldn't setup email accounts that belong to a long domain name which require the entire email address as the user login. The domain name is a .bc.ca and it seemed to cut the .ca off the end. This might be a possible bug.