Skip to content

Commit

Permalink
dma: move config files to source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
corecode committed Oct 4, 2009
1 parent 09454d3 commit 2541939
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile.etc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# $DragonFly: src/etc/dma/Makefile,v 1.3 2008/02/12 22:10:20 matthias Exp $

FILESDIR= /etc/dma
SHAREOWN= root
SHAREGRP= mail
FILESMODE= 640

.if !exists(${DESTDIR}/etc/dma/auth.conf)
FILES+= auth.conf
.endif
.if !exists(${DESTDIR}/etc/dma/dma.conf)
FILES+= dma.conf
.endif
.if !exists(${DESTDIR}/etc/dma/virtusertable)
FILES+= virtusertable
.endif

.include <bsd.prog.mk>
4 changes: 4 additions & 0 deletions auth.conf
Original file line number Diff line number Diff line change
@@ -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
54 changes: 54 additions & 0 deletions dma.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# $DragonFly: src/etc/dma/dma.conf,v 1.2 2008/02/04 10:11:41 matthias Exp $
#
# 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/mail/aliases

# Path to your spooldir. Just stay with the default.
#SPOOLDIR /var/spool/dma

# Path to your virtual user file. Just stay with the default.
#VIRTPATH /etc/dma/virtusertable

# SMTP authentication
#AUTHPATH /etc/dma/auth.conf

# Uncomment if you want address rewriting
#VIRTUAL

# Uncomment if yout want TLS/SSL support
#SECURETRANSFER

# Uncomment if you want STARTTLS support (only used in combination with
# SECURETRANSFER)
#STARTTLS

# 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 name to be used when introducing this host, if different from
# the result of "hostname". If specified, this overrides MAILNAMEFILE.
#MAILNAME mail.example.net

# The name of the file to read the MAILNAME from; if this file is not
# present, the result of "hostname" will be used.
#MAILNAMEFILE /etc/mailname
6 changes: 6 additions & 0 deletions virtusertable
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# $DragonFly: src/etc/dma/virtusertable,v 1.1 2008/02/02 18:24:00 matthias Exp $
#
# Virtual user table for address rewriting. If you want to use this file
# don't forget to uncomment VIRTUAL option in dma.conf.
#
# Format: localuser:my-real@email-address.example.com

0 comments on commit 2541939

Please sign in to comment.