Results 1 to 2 of 2
  1. #1

    Lightbulb how to forward "root" email

    can one of you unix gurus tell me how to forward email on my Redhat 7.2 linux server "root" account to another account that I can check through SMTP.

    Also, I had some dns issues and my root account got about 1700 emails quickly over it. Is there a way to mass delete all those?

  2. #2
    Join Date
    Jun 2000
    Washington, USA
    There should be a file called /etc/mail/aliases or /etc/aliases which contains the system aliases. Create one for root, like the other ones.

    Then type newaliases to rebuild the database/

    You could delete all the root e-mail by doing

    rm /var/spool/mail/root

Posting Permissions

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