summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-21 21:02:19 +0000
committerbapt <bapt@FreeBSD.org>2014-02-21 21:02:19 +0000
commit25aa5dfa3c99035865f6fee952dac6ff716b2162 (patch)
treeae8ad16beb5465e88b82b8986a70694c159e6673
parenta9165c12f793c44001770561b852f1c067f7929c (diff)
downloadFreeBSD-src-25aa5dfa3c99035865f6fee952dac6ff716b2162.zip
FreeBSD-src-25aa5dfa3c99035865f6fee952dac6ff716b2162.tar.gz
Install a default configuration file for dma
Suggested by: flo
-rw-r--r--etc/Makefile3
-rw-r--r--etc/dma/Makefile8
-rw-r--r--etc/dma/dma.conf64
3 files changed, 75 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index bcccf82..d1885d2 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -226,6 +226,9 @@ distribution:
.endif
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
+.if ${MK_DMA} != "no"
+ ${_+_}cd ${.CURDIR}/dma; ${MAKE} install
+.endif
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
${_+_}cd ${.CURDIR}/periodic; ${MAKE} install
.if ${MK_PKGBOOTSTRAP} != "no"
diff --git a/etc/dma/Makefile b/etc/dma/Makefile
new file mode 100644
index 0000000..0544f6f
--- /dev/null
+++ b/etc/dma/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+FILES= dma.conf
+
+NO_OBJ=
+FILESDIR= /etc/dma
+
+.include <bsd.prog.mk>
diff --git a/etc/dma/dma.conf b/etc/dma/dma.conf
new file mode 100644
index 0000000..2f50a4e
--- /dev/null
+++ b/etc/dma/dma.conf
@@ -0,0 +1,64 @@
+# $FreeBSD$
+#
+# Your smarthost (also called relayhost). Leave blank if you don't want
+# smarthost support.
+#SMARTHOST
+
+# Use this SMTP port. Most users will be fine with the default (25)
+#PORT 25
+
+# Path to your alias file. Just stay with the default.
+#ALIASES /etc/aliases
+
+# Path to your spooldir. Just stay with the default.
+#SPOOLDIR /var/spool/dma
+
+# SMTP authentication
+#AUTHPATH /etc/dma/auth.conf
+
+# Uncomment if yout want TLS/SSL support
+#SECURETRANSFER
+
+# Uncomment if you want STARTTLS support (only used in combination with
+# SECURETRANSFER)
+#STARTTLS
+
+# Uncomment if you have specified STARTTLS above and it should be allowed
+# to fail ("opportunistic TLS", use an encrypted connection when available
+# but allow an unencrypted one to servers that do not support it)
+#OPPORTUNISTIC_TLS
+
+# Path to your local SSL certificate
+#CERTFILE
+
+# If you want to use plain text SMTP login without using encryption, change
+# the SECURE entry below to INSECURE. Otherwise plain login will only work
+# over a secure connection. Use this option with caution.
+#SECURE
+
+# Uncomment if you want to defer your mails. This is useful if you are
+# behind a dialup line. You have to submit your mails manually with dma -q
+#DEFER
+
+# Uncomment if you want the bounce message to include the complete original
+# message, not just the headers.
+#FULLBOUNCE
+
+# The internet hostname dma uses to identify the host.
+# If not set or empty, the result of gethostname(2) is used.
+# If MAILNAME is an absolute path to a file, the first line of this file
+# will be used as the hostname.
+#MAILNAME mail.example.net
+
+# Masquerade envelope from addresses with this address/hostname.
+# Use this if mails are not accepted by destination mail servers because
+# your sender domain is invalid.
+# By default, MASQUERADE is not set.
+# Format: MASQUERADE [user@][host]
+# Examples:
+# MASQUERADE john@ on host "hamlet" will send all mails as john@hamlet
+# MASQUERADE percolator will send mails as $username@percolator, e.g. fish@percolator
+# MASQUERADE herb@ert will send all mails as herb@ert
+
+# Directly forward the mail to the SMARTHOST bypassing aliases and local delivery
+#NULLCLIENT
OpenPOWER on IntegriCloud