Results 1 to 3 of 3

Thread: email address and user accounts

  1. #1
    Join Date
    Oct 2007
    Beans
    60
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    email address and user accounts

    I'm setting up a mail server for the first time using Postfix and Dovecot on Ubuntu 10.04. So far I have managed to send and receive mail between user accounts on my example domain, for example mail between john1@mydomain.net and john2@mydomain.net.

    How do I connect their real email addresses to the accounts and send mail between john.smith@mydomain.net and john.jackson@mydomain.net? I have not set up LDAP authentication yet.

    Any help would be much appreciated.

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: email address and user accounts

    Use aliases. Edit as root the file /etc/aliases and add entries like this:

    Code:
    john.smith:          john1
    john.jackson:        john2
    Then run (again as root) the command "newaliases" to update the alias database. See "man aliases" for more details.

  3. #3
    Join Date
    Oct 2007
    Beans
    60
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: email address and user accounts

    Works like a charm. Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •