How do I collect all system OS mails sent to [email protected]?

Discussion in 'ISPConfig 3 Priority Support' started by concept21, Aug 12, 2021.

  1. concept21

    concept21 Active Member HowtoForge Supporter

    Case A:
    1. In my old installation of ISPConfig 3, I simply set the ISPConfig3 host as So localhost was
    2. In Postfix configuration, I also set mail server as Then, in file /etc/aliases, I added this line to direct all root messages to myself:
      root: myself
    3. These were not problems as I did everything in one single VPS. So from within ISPConfig3 Control Panel GUI, I could set up a catch-all email box [email protected] which in turn received all system OS mails being sent to [email protected] This is important to system administrator as OS informs root some crucial situations of its system.

    Case B:
    Now, I am setting up a new ISPConfig 3.2.5. I plan to expand its potential.
    1. This time, I install ISPConfig 3.2.5 on a host defined as Therefore, localhost becomes
    2. Next, I configure Postfix to have mail server as In file /etc/aliases, I also add this line:
      root: myself
    3. Now I enter , register a new domain mydomain.tld and a new catch-all mail box [email protected].
    4. Then, I find that I can no longer receive OS messages being sent to [email protected] as I could in Case A. It is because [email protected] becomes [email protected] and this latter mailbox cannot be defined by ISPConifg 3.2.5.
    5. Can you help me to solve my problem? How can I catch all OS messages sent to [email protected] in my new personal mailbox [email protected]? :rolleyes:
    Last edited: Aug 12, 2021
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Add to /etc/aliases on all your servers:
    root: [email protected]
    And run 'newaliases'.
    webguyz and concept21 like this.
  3. concept21

    concept21 Active Member HowtoForge Supporter

    It works exactly and OS messages begin to flood my mail box! :D

Share This Page