HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   RoundCube login and username problems with multiple domains (http://www.howtoforge.com/forums/showthread.php?t=26951)

dezigner 19th September 2008 15:33

RoundCube login and username problems with multiple domains
 
Hi,
I'm quite new with RCube and I realy need your help!

I'm running my own dedicated server with CentosOS 4.6 system. For administration things i'm using Webmin 1.400, plus i'v got nearlly 30 domains runing on my webserver. The thing is, that i installed RCube on my webserver and I want to use it instead of squiremail.

Problem Nr.1 50% Solved
When I creating a user for some domain with Webmin it creates like this: user.domain and to login to RCube to check email I must enter exactly same username, like system created for me. I tried to to chane main.inc.php and entered value: $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable'; but still I need to login by user.domain.
How can I do to login like user@domain.com ?

1/2 - I have changed $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';to $rcmail_config['virtuser_file'] = '/etc/mail/virtusertable'; - now I can login normaly user@domain.com

2/2 - How to disable logging as : user.domain ?

Problem Nr.2
In main.inc.php file as default host i put 'localhost', and thats looked to be allright, but when I checked settings and look at identities i saw this:
Name: user.domain
Email: user.domain@localhost

And of course if i woun't change my email setings to normal, then person who receives my email my addres will see like this: user.domain@myservername.com

How to make automaticly set settings this way:
Name: user
Email: user@domain.com
that receiver will see normal user addres: user@domain.com

Thanks in advance for your help

falko 20th September 2008 13:15

I don't know Roundcube, but I think you must set the correct sender address in the account settings of that email account.

Hans 20th September 2008 16:45

Falko is right about that.

To login with user@domain.tld, you need to change:

$rcmail_config['smtp_user'] = '%u';
into
$rcmail_config['smtp_user'] = '';

within main.inc.php.

dezigner 21st September 2008 19:58

I have canged %u to '' but i still can login with user.domain .. how to disable that?

Hans 21st September 2008 22:29

Not sure, but I think because your previous successfull login with user.domain was stored into the RoundCube database.

dezigner 22nd September 2008 06:56

Problem Nr.2
In main.inc.php file as default host i put 'localhost', and thats looked to be allright, but when I checked settings and look at identities i saw this:
Name: user.domain
Email: user.domain@localhost
And of course if i woun't change my email setings to normal, then person who receives my email my addres will see like this: user.domain@myservername.com

How to make automaticly set settings this way:
Name: user
Email: user@domain.com that receiver will see normal user addres: user@domain.com

what about this part?

Hans 22nd September 2008 10:20

RoundCube 0.2 Beta has been released. Based on that verion, i've created a new version for ISPConfig 2 today.
Although it's Beta, it contains many bugfixes and improvements.

During testing, i was able to login with username AND alias@domain.tld.
Also the identity problem seems to be better as well.
user@localhost will change automaticly into user@domain.tld.
For more information have a look here.


All times are GMT +2. The time now is 09:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.