RoundCube login and username problems with multiple domains

Discussion in 'Installation/Configuration' started by dezigner, Sep 19, 2008.

  1. dezigner

    dezigner New Member

    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 [email protected] ?

    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 [email protected]

    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: [email protected]

    How to make automaticly set settings this way:
    Name: user
    Email: [email protected]
    that receiver will see normal user addres: [email protected]

    Thanks in advance for your help
     
    Last edited: Sep 19, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

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

    Hans Moderator Moderator

    Falko is right about that.

    To login with [email protected], you need to change:

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

    within main.inc.php.
     
  4. dezigner

    dezigner New Member

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

    Hans Moderator Moderator

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

    dezigner New Member

    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: [email protected]

    How to make automaticly set settings this way:
    Name: user
    Email: [email protected] that receiver will see normal user addres: [email protected]

    what about this part?
     
  7. Hans

    Hans Moderator Moderator

    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 [email protected].
    Also the identity problem seems to be better as well.
    user@localhost will change automaticly into [email protected].
    For more information have a look here.
     

Share This Page