Roundcube Community Forum

 

Disable Full Email login?

Started by staze, January 19, 2012, 03:11:33 AM

Previous topic - Next topic

staze

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!

SKaero

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.

staze

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...