Sendmail alias...

Discussion in 'Server Operation' started by lyndros, Apr 29, 2009.

  1. lyndros

    lyndros New Member

    Hi guys, have some troubles trying to make an alias to an email account.

    I want just in my linux box to make an alias to an external email account.

    Let me explain: $mail localuser

    want to have this mail being forwarded to [email protected] for example.

    How can i do that?

    Thks in advanced.
     
  2. topdog

    topdog Active Member

    edit /etc/aliases and add

    Code:
    local_username: [email protected]
    Then run the command

    Code:
    newaliases
     
  3. lyndros

    lyndros New Member

    That worked, thank u very much :)
     

Share This Page