The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

domain aliases / email alias

Discussion in 'E-mail Discussions' started by andrie, Jun 30, 2004.

  1. andrie

    andrie Member

    Joined:
    Jun 10, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    Please help...urgent

    My client have 2 domain, in my old mail server there are options to create email aliasing so if i sent to user@domain.com its the same if i sent to user@domain.net
    i have setup in cpanel domain.com, where can i set for second domain? the firs domain ok for sent and received email.

    Please help me....
     
  2. christi1

    christi1 Well-Known Member

    Joined:
    Oct 20, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas, USA
    For the second domain, login into Cpanel and click on 'Default Address' in the center column under the 'E-mail" heading.

    Click "Set Default Address".

    Leave the selection box alone and enter them email address for domain1.com in the second field.

    Click the 'Change' button.

    Hope this helps.
     
  3. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
    To alias domains in email (whatever@parked.domain to goto whatever@main.domain instead of the default address), and do it autmatically when you create an email account for main.domain, do this:

    put this in /etc/exim.conf right under "begin router"

    alias_domain_file:
    driver = redirect
    domains = lsearch;/etc/aliasdomains
    data = $local_part@${lookup {$domain} lsearch {/etc/aliasdomains}}

    then in /etc/aliasdomains add these entries foreach aliased domain you want:

    parked.domain: main.domain
    parked2.domain: main.domain
    parked3.domain: main2.domain
     
  4. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
  5. GeekPatrolMille

    GeekPatrolMille Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    McKinney, Texas, USA
  6. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
    Why do you want to add a whole new router to exim.conf foreach on you want?

    Seems like a lot of extra work that you have to keep track of and troubleshoot and make sure it doesn't break exim.
     
Loading...

Share This Page