how do I change the sysadmin email?

Discussion in 'ISPConfig 3 Priority Support' started by bobpit, Feb 16, 2014.

  1. bobpit

    bobpit Member

    I want the admin/root (not sure about the difference) email to be [email protected]. So all problems should report there (from munin, monit, whatever).

    I think the server tries to send error messages to [email protected], I get those from gmail:
    Mail Delivery Subsystem [email protected]
    9:00 AM (49 minutes ago)
    to me
    Delivery to the following recipient failed permanently:
         [B][email protected][/B]
    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the server for the recipient domain by [].
    The error that the other server returned was:
    550 unknown user
    ----- Original message -----
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
  ; s=20120113;
    X-Received: by with SMTP id l58mr77490yhe.146.1392534022657;
            Sat, 15 Feb 2014 23:00:22 -0800 (PST)
    Return-Path: <[email protected]>
    Received: from ([])
            by with ESMTPSA id h23sm35769868yhc.0.2014.
            for <[email protected]>
            (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
            Sat, 15 Feb 2014 23:00:22 -0800 (PST)
    Received: by (Postfix, from userid 115)
            id 341A19DBF8F; Sun, 16 Feb 2014 07:00:03 +0000 (GMT)
    From: Cron Daemon <[email protected]>
    To: [email protected]
    Subject: Cron <[email protected]> if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi
    Content-Type: text/plain; charset=ANSI_X3.4-1968
    X-Cron-Env: <MAILTO=root>
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/var/lib/munin>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=munin>
    Message-Id: <[email protected]>
    Date: Sun, 16 Feb 2014 07:00:03 +0000 (GMT)
    [B]Failed to create rundir (/var/run/munin): Permission denied at /usr/share/munin/munin-update line 38[/B]
    So how do I change [email protected] to [email protected]?

    I think I found the files I need to change, but I am afraid this has to be done from inside ispconfig, otherwise I will mess things up. I am googling and searching the manual, but I cannot find the answer to such a simple thing.
    [email protected]:~# grep -r -l "[email protected]" /etc/*
    grep: /etc/ No such file or directory
    grep: /etc/mail/smrsh/mail.local: No such file or directory
    Next I will worry about the actual error from munin:
    Failed to create rundir (/var/run/munin): Permission denied at /usr/share/munin/munin-update line 38
    Last edited: Feb 16, 2014
  2. bobpit

    bobpit Member

    Since I replaced postfix with msmtp (, I don't know if I still have this problem.

    This returned nothing:
    grep -r -l "[email protected]" /etc/*
    So my question now is:
    Is [email protected] still part of the system? If yes, how can I redirect all emails from [email protected] to my private gmail address?
    Last edited: Feb 17, 2014
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    For postfix, you just would have set a alias in /etc/aliases to the external address and then restart postfix. I dont use msmtp, so I cant tell you how to configure it in this smtp server.

Share This Page