How to forward all e-mails to outside account

Discussion in 'Server Operation' started by AnthonyH, May 30, 2006.

  1. AnthonyH

    AnthonyH New Member

    Hello, I've got a shiney new SAMBA fileserver setup. I am not a admin and won't be logging onto the box after the shares/backups are working so I won't see the 'you have mail' when I log in. What I want to do is have all e-mails that are generated by the system / sent to users on the system automatically forwarded to [email protected]. I know I can setup a .forward for root, but that doesn't let it know the smtp server information or anything. How do I set that up?
  2. technick

    technick New Member

    Setup Sendmail... under /etc/aliases their's an entry for who gets root's email, add your address there. Run newaliases and your good to go.
  3. AnthonyH

    AnthonyH New Member

    Oddly enough, I think sendmail was configured automatically when I installed because somehow I got the e-mail messages directed to root with just the .forward. Which is rather odd as nowhere on the box does it know the smtp server to use... oh well, it worked. Thanks.

Share This Page