Roundcube Community Forum

Release Support => Pending Issues => Topic started by: staze on January 19, 2012, 03:11:33 AM

Title: Disable Full Email login?
Post by: staze on January 19, 2012, 03:11:33 AM
Found a weird one this evening. Users can login with their full email [email protected] to roundcube, but we have SMTP auth set to %u, and %p. When they would go to send an email, it would get rejected as bad username/password from SMTP because it doesn't like [email protected] as a valid user.

Can full email address login be disabled? I don't see anything in the main.inc.php that looks like it addresses this.

Thanks!
Title: Disable Full Email login?
Post by: SKaero on January 19, 2012, 03:23:39 AM
If you add your domain to $rcmail_config['username_domain'] in /config/main.inc.php the user can login with the domain but I'm not sure that would fix your problem. I think you'll probably have to write a plugin to change the smtp user at login.
Title: Disable Full Email login?
Post by: staze on January 19, 2012, 11:37:53 AM
yes, and it's backwards anyway. I want to DISABLE the ability to login with their domain, and yet, it seems by default, you can. I don't have anything set in $rcmail_config['username_domain'] (it's currently ''), yet it seems that SOME users are able to login this way. =/ Not sure why only some...