svn commit: r262304 - in head/etc: . dma
Baptiste Daroussin
bapt at FreeBSD.org
Fri Feb 21 21:02:20 UTC 2014
Author: bapt
Date: Fri Feb 21 21:02:19 2014
New Revision: 262304
URL: http://svnweb.freebsd.org/changeset/base/262304
Log:
Install a default configuration file for dma
Suggested by: flo
Added:
head/etc/dma/
head/etc/dma/Makefile (contents, props changed)
head/etc/dma/dma.conf (contents, props changed)
Modified:
head/etc/Makefile
Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile Fri Feb 21 20:55:34 2014 (r262303)
+++ head/etc/Makefile Fri Feb 21 21:02:19 2014 (r262304)
@@ -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"
Added: head/etc/dma/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/etc/dma/Makefile Fri Feb 21 21:02:19 2014 (r262304)
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+FILES= dma.conf
+
+NO_OBJ=
+FILESDIR= /etc/dma
+
+.include <bsd.prog.mk>
Added: head/etc/dma/dma.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/etc/dma/dma.conf Fri Feb 21 21:02:19 2014 (r262304)
@@ -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 at hamlet
+# MASQUERADE percolator will send mails as $username at percolator, e.g. fish at percolator
+# MASQUERADE herb at ert will send all mails as herb at ert
+
+# Directly forward the mail to the SMARTHOST bypassing aliases and local delivery
+#NULLCLIENT
More information about the svn-src-head
mailing list