git: d904b43ba3ff - main - dma: install a simple example for the auth.conf file

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 15 May 2023 07:20:38 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=d904b43ba3ffe2201f2c5aabcdc1af7709601d9a

commit d904b43ba3ffe2201f2c5aabcdc1af7709601d9a
Author:     Peter Wright <pete@nomadlogic.org>
AuthorDate: 2023-05-15 07:18:40 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-05-15 07:20:14 +0000

    dma: install a simple example for the auth.conf file
    
    PR:             270088
    MFC After:      3 days
---
 libexec/dma/dmagent/Makefile  | 2 +-
 libexec/dma/dmagent/auth.conf | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/libexec/dma/dmagent/Makefile b/libexec/dma/dmagent/Makefile
index 0a17527f43f1..49e224c77792 100644
--- a/libexec/dma/dmagent/Makefile
+++ b/libexec/dma/dmagent/Makefile
@@ -24,7 +24,7 @@ CONFSDIR=	${CONFDIR}/dma
 CFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
 YFLAGS+=	-i
 CLEANFILES=	aliases_parse.i
-FILES=	mailer.conf
+FILES=	auth.conf mailer.conf
 FILESDIR=	${SHAREDIR}/examples/dma
 
 BINMODE=	2555
diff --git a/libexec/dma/dmagent/auth.conf b/libexec/dma/dmagent/auth.conf
new file mode 100644
index 000000000000..393a80a8ab5f
--- /dev/null
+++ b/libexec/dma/dmagent/auth.conf
@@ -0,0 +1,4 @@
+# $DragonFly: src/etc/dma/auth.conf,v 1.1 2008/02/02 18:24:00 matthias Exp $
+#
+# SMTP authentication entries (currently AUTH LOGIN only)
+# Format: user|my.smarthost.example.com:password