Author Topic: Loginname - Cyrus-Mailserver  (Read 2379 times)

Offline Neo van Matix

  • Newbie
  • *
  • Posts: 1
Loginname - Cyrus-Mailserver
« on: September 11, 2008, 03:00:57 AM »

i set up an Cyrus-IMAP-Webserver on a root-server from Hetzner-Online. Additionaly, i installed Roundcube to access my emails.

So, my problem is... i _must_ login with the "full" username - like ( is my domain, test the mail-useraccount/adress).

Okay, i think its a cyrus-configuration-thing - but... i read something about to "add automaticly an domain", as i installed roundecube. I didn't fill out the form - where can i do it change now? In which configuration file?

Is it that, what i'm searching for? I want to login with "test" - i dont want to type in the full "name" - only "test". Can i resolv this issue with the configuration-option, i wrote above?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,385
Loginname - Cyrus-Mailserver
« Reply #1 on: September 11, 2008, 07:05:36 AM »
you can set the default domain name in $rcmail_config['username_domain'] in your config/ file but i think you will also need to change

Code: [Select]

if (!empty($config['username_domain']) && !strpos($username, '@')) {
     if (is_array($config['username_domain']) && isset($config['username_domain'][$host]))
        $username .= '@'.$config['username_domain'][$host];
     else if (is_string($config['username_domain']))
        $username .= '@'.$config['username_domain'];

in program/include/rcmail.php as RC uses @ in your username.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦