Hello,
I'm currently configuring a FreeBSD server that runs some jails (one for the database, one for the webserver ...).
I'm using sysutils/ezjail for this.
In each jail I have configured
in the rc.conf, so that a jail's root can for example receive the "daily security run output" mail.
No I'm wondering if there is a simple way to forward all these local mails from all the jails to the jail's host, so that I only have to check one mail box/ file for new messages. Currently I need to log into each jail manually (using
Can I for example mount the host's /var/mail directory in each jail to achieve this?
Thanks,
Fool
I'm currently configuring a FreeBSD server that runs some jails (one for the database, one for the webserver ...).
I'm using sysutils/ezjail for this.
In each jail I have configured
Code:
sendmail_enable="NO"
No I'm wondering if there is a simple way to forward all these local mails from all the jails to the jail's host, so that I only have to check one mail box/ file for new messages. Currently I need to log into each jail manually (using
ezjail console <jail>
) and call mail
to see the new mails.Can I for example mount the host's /var/mail directory in each jail to achieve this?
Thanks,
Fool