User Aliases for Mail Login

Discussion in 'Installation/Configuration' started by bswinnerton, Jan 30, 2008.

  1. bswinnerton

    bswinnerton New Member

    Hi there,

    Sorry I bug you guys so much. But I just had a quick question,

    Is there a way to make it so that you can have the users not have to type in their full email address or username and just the first part of their username for mail login.

    For example instead of having to type in [email protected] or mysite.com_bswinnerton just have bswinnerton?

    I was wondering if this could be done with the /etc/passwd file but wasn't sure and didn't want to mess around with anything that I shouldn't be.

    Thanks!
     
  2. Hans

    Hans Moderator ISPConfig Developer

    If you use RoundCube webmail:

    Change the following into the main.inc.php

    // Path to a virtuser table file to resolve user names and e-mail addresses
    $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';

    into:

    // Path to a virtuser table file to resolve user names and e-mail addresses
    $rcmail_config['virtuser_file'] = '';
     
  3. bswinnerton

    bswinnerton New Member

    Unfortunately after doing that I cannot login at all.

    Is that supposed to be a " or two '
     
  4. bswinnerton

    bswinnerton New Member

    That didn't work at all. Now I cannot get into my mail for that user account. I think that it wrote something into the database about how that use logs on. I'm dumping my roundcube database and putting it back up.
     
    Last edited: Jan 30, 2008
  5. bswinnerton

    bswinnerton New Member

    It must have written something in my maildir directory, because as soon as i tried to bring my backups back it wouldn't work again.
     
  6. Hans

    Hans Moderator ISPConfig Developer

Share This Page