How do E-Mail Aliases Work?

Discussion in 'Installation/Configuration' started by bswinnerton, Mar 26, 2008.

  1. bswinnerton

    bswinnerton New Member

    Hey guys,

    I was just wondering, How do email aliases work? Where can I edit the file that stores all of these aliases. The reason I'm asking is so that for the roundcube mail login i'd like to be able to login myself as user instead of user@domain.com or domain.com_user

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    /etc/postfix/virtusertable
     
  3. bswinnerton

    bswinnerton New Member

    I put a new one below where it says make manual entries below, but no luck. Do I need to restart anything?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Whenever you modify /etc/postfix/virtusertable, you must run
    Code:
    postmap /etc/postfix/virtusertable
    and restart Postfix.
     
  5. bswinnerton

    bswinnerton New Member

    =/ No luck.

    I did:

    Code:
    sudo postmap /etc/postfix/virtusertable
    and then:

    Code:
    sudo /etc/init.d/postfix restart
    and in the /etc/postfix/virtusertable I put:

    Code:
    bswinnerton    mysite.com_bswinnerton
    What did I do wrong?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    The format of /etc/postfix/virtusertable is
    Code:
    email_address username
    e.g.
    Code:
    user@example.com username
     
  7. bswinnerton

    bswinnerton New Member

    So does that mean that I cannot have

    bswinnerton mydomain.com_bswinnerton

    ?
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Yes, that's right.
     
  9. bswinnerton

    bswinnerton New Member

    =/ Alright thanks!
     

Share This Page