From b78a01cb0e2c959e4753723e940a3807c0381a8e Mon Sep 17 00:00:00 2001 From: cryx Date: Sun, 24 Jan 2010 21:22:39 +0000 Subject: Example flavour for using nullmailer as sendmail-replacement inside a jail, routing outgoing mail over an extern mailserver. --- examples/nullmailer-example/etc/rc.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 examples/nullmailer-example/etc/rc.conf (limited to 'examples/nullmailer-example/etc/rc.conf') diff --git a/examples/nullmailer-example/etc/rc.conf b/examples/nullmailer-example/etc/rc.conf new file mode 100755 index 0000000..e22f6f9 --- /dev/null +++ b/examples/nullmailer-example/etc/rc.conf @@ -0,0 +1,26 @@ +# Pretuned by German Engineers + +# No network interfaces in jails +network_interfaces="" + +# Prevent rpc +rpcbind_enable="NO" + +# Prevent loads of jails doing their cron jobs at the same time +cron_flags="$cron_flags -J 15" + +# Prevent syslog to open sockets +syslogd_flags="-ss" + +# Prevent sendmail to try to connect to localhost +sendmail_enable="NO" +sendmail_submit_enable="NO" +sendmail_outbound_enable="NO" +sendmail_msp_queue_enable="NO" + +# Bring up sshd, it takes some time and uses some entropy on first startup +# sshd_enable="YES" + +# Enable nullmailer for external mail delivery +nullmailer_enable="YES" + -- cgit v1.2.3