Roundcube Community Forum

Release Support => Requests => Topic started by: matrix2311 on July 26, 2013, 04:40:58 AM

Title: Mailadress as login-username for SMTP in main.inc.php
Post by: matrix2311 on July 26, 2013, 04:40:58 AM
Hi,

i'm using Roundcube Webmail 0.9.2 with an IMAP-Account and an different SMTP-Account. I waant to set up multiple users using the Mailadress to Login to my Roundcube.

I use the following line in main.inc.php to log in with the mailadresses:


// Enables possibility to log in using email address from user identities
$rcmail_config['user_aliases'] = true;


The IMAP-Traffic is currently fine but the SMTP-Authetication uses a wrong Username. I checked the SMTP-Traffic an identified the problem. My SMTP-section in my main.inc.php is configured this way:


$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';


When i check the SMTP-Logfile i can see, that the %u is the IMAP-Username and NOT the typed emailadress from the roundcube-login-screen. Thats exactly my problem. I need to pass the typed emailadress as username to my SMTP-Server.

Is there any other undocumented variable for this string? Perhaps here is somebody who can help me finding the right configuration für my main.inc.php?

Greetings,
Oliver.
Title: Re: Mailadress as login-username for SMTP in main.inc.php
Post by: matrix2311 on November 08, 2013, 09:42:13 AM
Hi,

so it seems that there is no answer or solution. Then i would request the little feature of adding a new variable into the main.inc.php:

%z = typed username at loginscreen

This would be a solution for my problem usind roundcube together with ownCloud.

Thanks,
Oliver.