diff options
Diffstat (limited to 'examples/nullmailer-example/etc')
-rw-r--r-- | examples/nullmailer-example/etc/mail/mailer.conf | 4 | ||||
-rwxr-xr-x | examples/nullmailer-example/etc/rc.conf | 26 |
2 files changed, 30 insertions, 0 deletions
diff --git a/examples/nullmailer-example/etc/mail/mailer.conf b/examples/nullmailer-example/etc/mail/mailer.conf new file mode 100644 index 0000000..c3fa67d --- /dev/null +++ b/examples/nullmailer-example/etc/mail/mailer.conf | |||
@@ -0,0 +1,4 @@ | |||
1 | # replace sendmail with nullmailer | ||
2 | sendmail /usr/local/libexec/nullmailer/sendmail | ||
3 | send-mail /usr/local/libexec/nullmailer/sendmail | ||
4 | mailq /usr/local/libexec/nullmailer/mailq | ||
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 @@ | |||
1 | # Pretuned by German Engineers | ||
2 | |||
3 | # No network interfaces in jails | ||
4 | network_interfaces="" | ||
5 | |||
6 | # Prevent rpc | ||
7 | rpcbind_enable="NO" | ||
8 | |||
9 | # Prevent loads of jails doing their cron jobs at the same time | ||
10 | cron_flags="$cron_flags -J 15" | ||
11 | |||
12 | # Prevent syslog to open sockets | ||
13 | syslogd_flags="-ss" | ||
14 | |||
15 | # Prevent sendmail to try to connect to localhost | ||
16 | sendmail_enable="NO" | ||
17 | sendmail_submit_enable="NO" | ||
18 | sendmail_outbound_enable="NO" | ||
19 | sendmail_msp_queue_enable="NO" | ||
20 | |||
21 | # Bring up sshd, it takes some time and uses some entropy on first startup | ||
22 | # sshd_enable="YES" | ||
23 | |||
24 | # Enable nullmailer for external mail delivery | ||
25 | nullmailer_enable="YES" | ||
26 | |||