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.

How to create email aliases?

Discussion in 'E-mail Discussions' started by MrYogi, Apr 12, 2004.

  1. MrYogi

    MrYogi Registered

    Joined:
    Apr 12, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I searched everything on my control panel and did not find that option.

    Thank you.
     
  2. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    323
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    In Cpanel under emails click on forwarders. You can assign as many as you want to an actual email address.
     
  3. roax66

    roax66 Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    How do you forward all emails to a local account to an external adress? There is no newaliases command installed???
     
  4. freakysid

    freakysid Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Via cpanel you set up the "default" address which email will be forwarded to.

    From the shell you go:

    pico /etc/valiases/<domain name>

    And add/edit this line at the end of the file:

    *: <email address to forward to>
     
  5. roax66

    roax66 Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Thanks but I have +200 domains and want to set up the forwardings on an account basis rather than on a domain basis.

    Ie:

    account1: blabla@domain.com
    account2: blabla@domain.com

    Emails to the domains are already forwarded to the accounts.

    Can it be done?
     
  6. freakysid

    freakysid Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Well a user (account) is not a virtual alias because they are a system user. So in this case you can place the alias in the /etc/aliases file.
     
  7. roax66

    roax66 Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Thanks. I know that but then when trying to run newaliases executable I can not find it in /usr/bin or by running 'locate newaliases'. It seems not to be included in Redhat Enterprise.

    How does one forward emails from a unix user account to an external email adress in Redhat Enterprise/WHM?
     
  8. freakysid

    freakysid Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    This is not a strong area of expertise for me - but I don't think that with exim you need to make the flat file to a db hash table - so no need to run makealiases?
     
  9. roax66

    roax66 Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    I tested this and you are indeed right! It was as simple as that! Many, many thanks!
     
Loading...

Share This Page