mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
forward root mail
This commit is contained in:
parent
ef59617762
commit
9b90a8bd38
@ -20,3 +20,8 @@ tools/editconf.py /etc/systemd/journald.conf MaxRetentionSec=2month
|
|||||||
tools/editconf.py /etc/systemd/journald.conf MaxFileSec=1week
|
tools/editconf.py /etc/systemd/journald.conf MaxFileSec=1week
|
||||||
|
|
||||||
hide_output systemctl restart systemd-journald.service
|
hide_output systemctl restart systemd-journald.service
|
||||||
|
|
||||||
|
# Create forward for root emails
|
||||||
|
cat > /root/.forward << EOF;
|
||||||
|
administrator@$PRIMARY_HOSTNAME
|
||||||
|
EOF
|
Loading…
Reference in New Issue
Block a user