Getting Roots Mail

Discussion in 'Tips/Tricks/Mods' started by fraginhell, Dec 24, 2005.

  1. fraginhell

    fraginhell New Member

    Hi Guys.

    Thought I would share this with you, incase it helps any one else.
    Getting Roots Mail on Postfix.
    Vi /etc/aliases
    goto the bottom of the file find the
    #root: marc

    change it to :
    root: realsystem user

    for example
    root: web6_keith

    Note you will need to redirect the mail to a real system account.

    save and quite.
    postalias aliases
    postfix reload

    test by sending a mail to root.

    If your /etc/alaises is in a different location check your postfix file.

    Hope that helps.
  2. till

    till Super Moderator

    One general hint, never make an alias for the admispconfig user. The admispconfig user account is needed for the mail statistics and you will break ispconfig stats if you make an alias for admispconfig.
  3. edge

    edge HowtoForge Supporter

    Sorry to bring this 'old' topic up, but is 'fraginhell' way of doing this a good or bad way?

    I would like to receive the 'system mail' as a normal email in my *cough* *cough* Outlook Express box..

    The way I'm now reading it now is with Webmin > Servers > Read User Mail > Root
  4. till

    till Super Moderator

    The solution is fine for redirecting the root emails.
  5. edge

    edge HowtoForge Supporter

    Thanks again Till.

Share This Page